Question: Consider an array named Employee[10] in which you have stored the record of company employees. Store the following information by taking input from user as

Consider an array named Employee[10] in which you have stored the record of company employees. Store the following information by taking input from user as follows:

emp_num , emp_name, phone_no and salary

Write the following methods:

  • Insert the record of new employee (data is inserted by order of emp_num which is a unique number generated by rand() mehod).
  • Search the record of employee
  • Display the record of employee in ascending order
  • Display record of employee having highest salary
  • Calculate the total no of employees having higher salaries.

LANGUAGE: C++

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!