Skip to content

Opening book details…

Can I read MPG Calculation Program on EtoBox?

MPG Calculation Program by meihuunkoosh is a document available to read on EtoBox.

What is MPG Calculation Program about?

This C++ program calculates miles per gallon (MPG) for individual trips and total MPG over multiple trips. It prompts the user to enter miles driven and gallons used, then computes and displays the MPG for each trip and the cumulative MPG. The program continues to accept input until the user enters -1 to quit.

Author
meihuunkoosh
Language
EN

More by meihuunkoosh

Browse all works by meihuunkoosh