Question: Develop a c++ program with an array of 10 employees (Note: Use structure for employees). create a function to read all of the above data
Develop a c++ program with an array of 10 employees (Note: Use structure for employees). create a function to read all of the above data for 10 employees of the company. Develop a function that should print the names of only those employees whose salaries are above 30,000. Also, the employees must be the residents of Lahore.
Hint: You better use these attribute/data members: id, name, salary, city e.t.c
Suppose data of employees.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
