Question: in C++ define a class called worker that has its members the worker_name and the worker_id both type string. Then write a main that has
in C++ define a class called worker that has its members the worker_name and the worker_id both type string. Then write a main that has the user type in on the keyboard the number of workers in an array and that creates a dynamic array of type worker and inputs all info for each person. Then display the database.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
