juggalo_for_eva
2008-08-11 08:09:08 UTC
Im using Dev-C
It shows my block of code highlighted in brown
My code says: cout << "\nHow many MPG do you get?? ";
My whole code says:
typedef unsigned short USHORT;
#include
int main()
{
USHORT MPG;
USHORT gasPrice;
USHORT distanceTraveling;
USHORT howMuchItsGoingToCostYou
cout << "\nHow many MPG do you get?? ";
cin >> MPG;
cout << "\nHow far are you traveling?? ";
cin >> distanceTraveling;
cout << "\nWhats the price of gas where you live?? ";
cin >> gasPrice;
howMuchItsGoingToCostYou= (MPG / distanceTraveling) * gasPrice;
system( "PAUSE" );
return 0;
}