question archive Payroll Report Program Write a program that reads in a data file called "payroll" (provided)
Subject:Computer SciencePrice: Bought3
Payroll Report Program
Write a program that reads in a data file called "payroll" (provided). Your program will use the data in the data file to produce a payroll report file called "reporter". You must state that the file was successfully created. Your output report file should look like this:
ID HOURS RATE GROSS PAY
123 18.5 $ 10.00 $ 185.00
456 23.0 $ 11.50 $ 264.50
789 40.0 $ 12.00 $ 480.00
1011 6.5 $ 13.50 $ 87.75
1213 7.0 $ 14.00 $ 98.00
1415 19.5 $ 15.50 $ 302.25
1617 10.0 $ 10.00 $ 100.00
i need answer in c programming way