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
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20°c. the pipe has an outer surface temperature of 65°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
question
Engineering, 04.07.2019 18:10
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
question
Engineering, 04.07.2019 18:10
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
question
Engineering, 04.07.2019 18:20
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
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
Physics, 23.11.2020 08:40
question
Mathematics, 23.11.2020 08:40
question
Mathematics, 23.11.2020 08:40
question
Mathematics, 23.11.2020 08:40
question
Physics, 23.11.2020 08:40
question
Mathematics, 23.11.2020 08:40
question
Social Studies, 23.11.2020 08:40
Questions on the website: 13722361