[Solved] SOLVED:Three employees in a company are up for a special pay increase

$25

File Name: SOLVED:Three_employees_in_a_company_are_up_for_a_special_pay_increase.zip
File Size: 649.98 KB

SKU: [Solved] SOLVED:Three employees in a company are up for a special pay increase Category: Tag:
5/5 - (1 vote)

Three employees in a company are up for a special pay increase. You are given a file, say Ch3_Ex7Data.txt , with the following data:

Miller Andrew 65789.87 5Green Sheila 75892.56 6Sethi Amit 74900.50 6.1

Each input line consists of an employees 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 is65789.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_Ex7Output.dat .For each employee, the data must be output in the following form:firstName lastName updatedSalary . Format the output of decimal numbers to two decimal places.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] SOLVED:Three employees in a company are up for a special pay increase
$25