Answer to Question #35347 in Assembler for jeff

Question #35347
Al's Last Chance Gas station sits on Route 190 on the edge of Death Valley. There is no other gas station for 200 miles. You are to write a program to help drivers decide if they need gas. The program asks for:
• The capacity of the gas tank, in gallons.
• The indication of the gas gauge in percent (full= 100, three quarters full = 75, and so on).
• The miles per gallon of the car.
The program then writes out "Get Gas" or "Safe to Proceed" depending on if the car can cross the 200 miles with the gas remaining in the tank.
Tank capacity:12
Gage reading:50
Miles per gallon:30
Get Gas!
Use integers for all input and all arithmetic.
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS