Question: Make a program that input code, name, basic salary and designation of an employee of at least five students in a file employee.txt. Basic salary

Make a program that input code, name, basic salary and designation of an employee of at least five students in a file "employee.txt". Basic salary of "Manager" is 70000, "Supervisor" has 50000, "Worker" has 20000 and "Programmer" has 45000. This program must search an employee record using input code by the user. Print salary slip contains all necessary information with 9% of basic pay as allowance for managers, 7% of basic pay as allowance for programmers and supervisors and 5% of basic pay as allowance for workers.

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 Programming Questions!