Question: May I get help with these errors? This assignment is seperate compilation, so no .h or .cpp file editing This is the Main.cpp file, where

May I get help with these errors? This assignment is seperate compilation, so no .h or .cpp file editing
 May I get help with these errors? This assignment is seperate
compilation, so no .h or .cpp file editing This is the Main.cpp
file, where function main() is implemented-the entry way of the program. To

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. using nanespace std; int main() 11 Create an object of the class Enployee using If the defoult canstructor. II Hane the object "bob". ll Your code here... Eaployee bob; (f Cali function print () to print object bob. 1/ Your code here... bob.print(); 1/ Set the nane and 10 of object bob to "Bob" and 111. If Your code here... setllane ("Bob*); setID (111); If Call function print() to print object bob. 1/ Your code here... bob.print(): If Create an object of the class Eaployee using the parosetized If constructor, passing values "Jane" and 222. If Nane the object "fane". Il Your code here... Enployce(-Jane:, 272): If Call function print() to print object jane. If Your code here... jane.print (): If Change object jane's 10 to 333. If Your code here... setio (393) : If Call function print() to print object jane. If Your code here... Jane.print(); cout ee "Bob/Jane: "; If Call function samekne() to conpare objects bob and jane. if (sarellane(bob)) cout ee "5ane nane. n; else cout ee "Different nase, In ; cout es end; \}. return o; 57F Cloudy II Call function samellame() to compare objects bob and jar if (sanellane(bob)) cout "Sane name. In"; else cout "Different name. In"; cout end;; return ; ning Main.cpp in.cpp: In function 'int main()': in.cpp:22:4: error: ''setName' was not declared in this scope 22 | setName("Bob"); 23 I 23 | setID(111); lain.cpp:37:2: error: 'jane' was not declared in this scope 37 i jane.print(); Main.cppp: 49:6: error: 'sameName' was not declared in this scope 49 if (samellame(bob)) Score

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!