subject
Engineering, 13.03.2020 02:01 eddsworldfrantic

• Problem 3: Write a program to process employee pay increases.
• The data will be in a file with the following format:
• Employee_name current_salary percent_increase. txt
• Here is the content of datafile. txt which you will make (note 1 space only twixt entries):

Miller, Andrew 63700 5.5
Green, Shelia 55025.75 6.2
Abrams, Milton 57400 6.1
Smith, Stacey 72900 5.2
Charles, Ray 54095 6.3

• Note that there must be NO SPACES in the employee name. As a result, you will be able to read using >> .
• Your program will ask for:
• The name of the file to process, and the name of the output file.
• Read the employee name, current salary, and increase.
• Calculate the new pay and write to an output file with employee name and new salary.
• Format the numbers to display 2 decimal places.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
question
Engineering, 04.07.2019 18:20
Vibration monitoring this technique uses the noise or vibration created by mechanical equipment and in seme cases by plant systems to detemine their actual condtion. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:20
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:20
An engine runs on the ideal diesel cycle. the cycle has a compression ratio of 20 and a cutoff ratio of 2. the highest temperature in the cycle is 1200 k. if the heat into the system is 300 kj/kg of working fluid and using variable specific heats determine the work produced per mass of working fluid
Answers: 3
You know the right answer?
• Problem 3: Write a program to process employee pay increases.
• The data will be in a file...
Questions
question
Mathematics, 23.10.2019 06:50
question
Mathematics, 23.10.2019 06:50
question
Mathematics, 23.10.2019 06:50
Questions on the website: 13722367