Question: for capacity. See the Sample Interaction below on what message you will display to the user 8 . This is a good point to stop
for capacity. See the Sample Interaction below on what message you will display to the user
This is a good point to stop and do a test compile. If you run your program at this point, nothing will be displayed yet.
After your test compile, fix any errors you may have encountered. Continue below once you fix any errors you had.
Ask the user to enter a value for remaining. See the Sample Interaction below on what message you will display to the user
Ask the user to enter a value for cost this is the cost of gas per gallon
Display a message see Sample Interaction of how much it will cost to fill up the gas tank. Don't forget you will only pay for how much you actually purchase to fill up the tank.
Display a message showing how many miles the car will be able to go based on a full tank.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
