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, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 18:10
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:20
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
Answers: 2
You know the right answer?
• Problem 3: Write a program to process employee pay increases.
• The data will be in a file...
Questions
question
Physics, 25.10.2019 19:43
question
French, 25.10.2019 19:43
question
Social Studies, 25.10.2019 19:43
question
Mathematics, 25.10.2019 19:43
Questions on the website: 13722363