Question: i took three pictures for thr problem because the question was written horizontally amd couldnt fit it one page. please view all 3 Programming Exercises


Programming Exercises Chapter 3. #5 Three employees in a company are up for a special pay increase. You are given a file, say Ch3_Ex5Data.txt, with the following data: Miller Andrew 65789.875 Green Sheila 75892.56 6 Sethi Amit 74900.50 6.1 Each input line consists of an employee's last name, first name, current salary, and percent pay increase. For example, in the first input line, the last name of the employee is Miller, the first name is Andrew, the current salary is 65789.87, and the pay increase is 5%. Write a program that read data from the specified file and stores the output in the file ch3_ExSoutput.dat. For each employee, thi When Submitting - PLEASE SUBMIT a .cpp file. - No other file type will be accepted. ta: putline, the last name of For each employee, the data must be output in the following formi first ane lastName updatedsalary. Format the output of decimal n a.png file, then ate about this! until the last second Additional Content? must be output in the following form: firstName lastName updatedsalary. Format the output of decimal numbers to two decimal places
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
