Hi, I am taking a C++ course and is stuck on one the questions on my homework assignment. How do I make the output look like this:
Employee Hourly Hours Tax Gross Net
Name Rate Worked Rate Amount Amount
John Smith 10.45 40.00 15.00 418.00 355.30
Jane Doe 12.50 45.00 15.00 593.75 504.69
Harry Morgan 20.00 40.00 20.00 800.00 640.00
Carmen Martinez 25.00 35.00 25.00 875.00 656.25
Jacintha Washington 50.85 60.00 35.00 3559.50 2313.68
Totals 6246.25 4469.91
The spacing is bad but there are 6 columns which are Employee Name, Hourly Rate, Hours Worked, Tax Rate, Gross Amount, and Net Amount. The setpricsion is 2.