The trustees of a small college are considering voting a pay raise for their faculty members. They want to grant a 4 percent raise for those earning more than $70,000.00, a 7 percent raise for those earning more than $50,000.00 and 5.5 percent raise for all others. However, before doing so, they want to know how much this will cost.
I need help with this C++ Program
The trustees of a small college are considering voting a pay raise for their faculty
members. They want to grant a 4 percent raise for those earning more than $70,000.00,
a 7 percent raise for those earning more than $50,000.00 and 5.5 percent raise for all
others. However, before doing so, they want to know how much this will cost.
Use the template, Program7-Template.cpp, provided to write a program that will print
the faculty number, the old salary, the raise percentage, the pay raise, and the new salary
for each faculty member in a five-column format with headings. Also print the total
amount of the raises, the average of the raises, and the total and average of the faculty
payroll before and after the raise. Use the end of file as a sentinel value. The input data
is available in Program7.txt.
Download the attached file, Program7-template.cpp, from Blackboard and rename it as
Program7.cpp.
Do NOT use any binary logical operator or anything that looks like one in the
program. You will not receive full credit for the program if you do.
No input, processing or output should happen in the main function. All work
should be delegated to other functions. The program should have at least 4 functions
(main and developerInfo not included) and the output sent to an output file, Program7-
output.txt. Include the recommended minimum documentation for each function.
Every function in your program should be limited to performing a single, welldefined task, and the name of the function should express that task effectively.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images