Create a C program that reads in text file AP7-1.txt and creates a comma separated file called AP7-2.csv. Calculate Gross Pay by multiplying hours worked by rate of pay. The first row in file AP7-2.csv should be headers for each data element. The data elements for output in the comma separated data file are employee ID number (int), hours worked (double), rate of pay (double) and gross pay (double). Your output file contents should look similar to: Emp ID

Solved
Show answers

Ask an AI advisor a question