I have the heading down but how do I output the names and numbers including total? Does it involve calculation? Also, how do I make it so they're aligned pretty? Can someone help me with this whole process?
Here it is:
This payroll program calculates an individual employee pay and
company totals using data from a data file payroll.txt.
A payroll report showing payroll information is displayed.
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