Question

Write a C program that read from the text file called "usage_data.txt" (on zyBooks, download it). for each line (consisting of a user type and water usage in cubic feet) in the given text file, find the total cost (including tax) and display the table of information (including the calculated cost) as shown in the sample code execution.

Fig: 1