Question: Develop an algorithm for the following problem statement. Your solution will be presented as pseudocode with appropriate comments. Write an algorithm fora program that reads

 Develop an algorithm for the following problem statement. Your solution will

Develop an algorithm for the following problem statement. Your solution will be presented as pseudocode with appropriate comments. Write an algorithm fora program that reads the cost ofgas bi-monthly and the number or people in a household. If the number of people is within the recommended range (2nd column), display the recommended message: "Well done! Usage is acceptable." However, if the number of people is less than the recommended range for the given cost, calculate the cost difference (based on the recommended cost for the # of people per household), then display, "Warning: you should reduce your gas bill by $ $100 3 or more

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!