A program is used by a company that employs 20 workers. The program keeps the following details
Question:
A program is used by a company that employs 20 workers. The program keeps the following details for each employee of the company: Surname, first name, salary, employee number and age. The details of the 20 employees are not kept in a file yet; instead, dynamic memory is used whenever there is a need to process the details of the employees. The salary of each employee is taxed at 35%. After the processing of the salaries of these employees, it is required that for each
employee the full names, salary before tax, salary after tax, employee number, and age of each employee are printed on the screen. You are requested to write this program knowing well that at the time of processing the employee details are entered from the keyboard.
Statistics for Business and Economics
ISBN: 978-0321826237
12th edition
Authors: James T. McClave, P. George Benson, Terry T Sincich