43.3k views
5 votes
Create a new file that contains a summary of the total consumption for three sectors: "Residential," "Commercial," and "Industrial." The summary is a per-line total of the consumption for all energy types of each sector. For each of the three sectors, calculate the sum of that sector's consumption in each line of the file. Write that sum to an output file in the appropriate column.

User User Rebo
by
5.1k points

1 Answer

2 votes

Answer:idk

Step-by-step explanation: