title: conversion from 'int' to non-scalar type 'Employee' requested
body: <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  class Employee
  {
      /*These are attributes of a Employee class*/
      
      public:
      string Name;
      string Company;
      int Age;
      
      /*This is a method of class*/
      
      void IntroduceYourself()
      {
          cout&lt;&lt;&quot;Name - &quot;&lt;&lt; Name &lt;&lt; endl;
          cout&lt;&lt;&quot;Company - &quot;&lt;&lt; Company &lt;&lt; endl;
          cout&lt;&lt;&quot;Age - &quot;&lt;&lt; Age &lt;&lt; endl;
      }
      
      /*This is user-defined constructor of class*/
      
      Employee (string name, string company, int age)
      {
          Name = name;
          Company = company;
          Age = age;
      }
      
  };
  
  int main ()
  {
      /*Creating 1st instance of Employee class*/
      
      Employee employee1 = (&quot;Danish&quot;, &quot;Amazon&quot; , 22);
      employee1.IntroduceYourself();
      
      /*Creating 2nd instance of Employee class*/
      
      Employee employee2 = (&quot;Aqib&quot;, &quot;Accountancy&quot; , 23);
      employee2.IntroduceYourself();
      
  } 
  </code></pre>