Question: Just a flow chart HINT: You will not use the do-while loop for this assignment. Problem 1: 20> Draw a flowchart for a program that

Just a flow chart  Just a flow chart HINT: You will not use the do-while

HINT: You will not use the do-while loop for this assignment. Problem 1: 20> Draw a flowchart for a program that will calculate an electric bill. The user will enter: - the month (he will enter 1 for January, 12 for December, etc) - the current meter reading - the previous meter reading Calculate an electric bill based on the following rate & consumption table: Kilowatt 0- 400 KWH over 400 KWH Consumption Cost a flat rate of $8.50 $8.50 (base rate) + 7.525 cents for each KWH over 400 (May- Sept.) or 6.575 cents for each KWH over 400 (all other months) Test your flowchart using the following 6 test cases. 1. Month 5 Current- 1200 2. Month 4 Current = 1500 3. Month-9 Current- 1200 4. Month 10 Current-1200 Previous 1000 Bl $8.50 Previous 1100 Bil $8.50 Previous 500 Previous 500 Bill = $31.07 Bill- $28.23

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!