Question: Open with (C) The following flowchart shows an algorithm that calculates and displays the water bill for 10 users. The algorithm repeatedly gets the users'

 Open with (C) The following flowchart shows an algorithm that calculates

Open with (C) The following flowchart shows an algorithm that calculates and displays the water bill for 10 users. The algorithm repeatedly gets the users' input in the forms of water consumption (in m, real number) for 10 times, one at a time, and displays the bill. Note that the water tariff for the first 30m is RM0.57/m, and the remaining usage will be charged RM1.45/m?; A minimum charge of RM6.00 per month is applied. Start Set k=1 Prompt user for usage Input usage k

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!