0 LIKES LikeUnLike
Hi I keep getting a error in my code Im using Dev-C It shows my block of code highlighted in brownMy code says: cout << "\nHow many MPG do you get?? ";My whole code says:typedef unsigned short USHORT;#include <iostream>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;}
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.