//Issac Vallejo CSC5 Chapter 3, P. 143, #1
//
/**************************************************************
*
* COMPUTE HOW LONG A CAR CAN BE DRIVEN ON A FULL TANK OF GAS &
* HOW MANY MILES A GALLON OF GAS HAS.
* ____________________________________________________________
*This program computes a car's gas mileage
* milespergallon = milespertank/numberofgallons
*____________________________________________________________
*INPUT
* GallonCapacity : Number of gallons a car can hold
*
* MaximumMiles : Number of miles a car can be driven on one
tank
*
*OUTPUT
*Miles : How many miles per gallon .
**************************************************************/
#include <iostream>
using namespace std;
int main() {
float gallonsCurrent; //INPUT - Max gallons per tank
float milesMAX; // INPUT - Max miles per tank
float milesPgallon; // OUTPUT - Number of miles per gallon
cout << "what is the maximum number of gallons your car can hold? " ;
cin >> gallonsCurrent;
cout << "what is the maximum amount of miles your can drive per tank? ";
cin >> milesMAX;
milesPgallon = milesPgallon/gallonsCurrent;
cout << "milesPgallon ";
return 0;
}