Question: - Write a program, which accepts name and number of hours worked per week of an employee and computes weekly salary of the employee. The

- Write a program, which accepts name and number of hours worked per week of an employee and computes weekly salary of the employee. The program, also, calculates income tax (15%) and net wage of the employee. The rate per hour over 40 is one and half times the normal rate ($10/ hour ). The program will display the highest and lowest salary holder's record. Your program will produce an output file named salaryEmp.txt. - read data compute salary, show result. - read data will accept name and hours worked - compute salary computes weekly salary, income tax paid, and net wage: - show result will display name, hours, salary, tax paid, and net wage of the employee in a table. - The program will use a data file as shown below: - Sample output of the program is: Ronnie Zamora is holding the largest salary of 40375 Rudy Miller is holding the lowest salary of 127.50 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
