5. Three employees in a companyr are up for a special pay increase….solved

$14.99

Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment

Description

3/5 - (2 votes)

5. Three employees in a companyr are up for a special pay increase. You are given
a file, say Ch3_Ex5Data . txt, wilh the following data: Miller Andrew 65T89.B7 5 Green Sheila ?5092.56 6
Sethi knit 74900.50 6.1

Each input line consists of an employee’s last name, first name, cunent 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 55789 . 87, and the pay increase is 5%. Write a program that reads data from
the specified file and stores the output in the file ch3_Ex50utput . dat. For
each employee, the data must be output in the following form: firs tName
lastfiame uEdatedSalarX_ Format the output of decimal numbers to two decimal places.