Question: Write a program that reads from file Salary.txt produced by the payroll program and displays the total salary for all employees and their average salary

Write a program that reads from file Salary.txt produced by the payroll program and displays the total salary for all employees and their average salary NOTE: Use the code below to generate the Salary.txt file (DO NOT COPY PASTE) ofstream myfile myfile.open("/Users/RORTA/Temp/Salary.txt"); myfile
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
