CodeSolved

Solved Programming Questions & Exercises

Calculate the cost of building water

Practice Easy 1761/ Download 47 Views New

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.

This exercise is a project! It has the potential to be expanded much further, so take the main idea from here and work on it more to turn it into a larger project.

0 Answers

Submit answer

Submitting answers is currently unavailable.

×
×
Close