Question: C++ Problem This is the Main.cpp file, where function main() is implemented--the entry way of the program. To test the Employee class, add the necessary

C++ Problem
This is the Main.cpp file, where function main() is implemented--the entry way of the program. To test the Employee class, add the necessary code in the main() function as indicated. Below you can find the UML diagram of the class. \#include "Employee.h" \#include // constructor, passing values "Jane" and 222. // Name the object "jane". // Your code here... // Call function print() to print object jane. // Your code here... // Change object jane's ID to 333. // Your code here... // Call function print() to print object jane. // Your code here... cout "Bob/Jane:" ; // Call function samName() to compare objects bob and jane. if () cout "Same name. In"; else
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
