Question: Create a flowchart for the following problem: A gas pump pumps gas at $2 / gallon. The customer enters the cash ( in whole dollars

Create a flowchart for the following problem:
A gas pump pumps gas at $2 / gallon. The customer enters the cash ( in whole dollars ) and the pump pumps the equivalent gallons of gas. As the pump pumps each gallon, it displays the amount of gas pumped so far. At the end, it pumps any remaining fraction of a gallon and displays the total pumped.

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!