Calculate the cost of building water
Write a program thatWater consumptionThe entire building and numberResidents of each unitReceive. Then, by dividing the total consumption into the total number of residents, calculate the share of each unit and display the amount of consumption along with the final cost.
Consider the cost of each liter of water.