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
Get step-by-step solutions from verified subject matter experts
