Zeke the Explorer

October 17, 2008

My most complicated program yet…I was very happy…..enjoy

Filed under: Uncategorized — Chris @ 2:37 am

#include

using namespace std;
int main()
{

int score;

cout < < "Enter final score: " ;
cin >> score ;

if( score < 500 )
{
cout << "You play like JC" << endl;
}

else if( score > 500 )

{
cout < < " You play like CH" << endl;
}

else
{
cout << " That is INSANE " << endl;
}

cout << endl << "Press the enter key to exit";
cin.ignore(cin.rdbuf()->in_avail() + 1);

return 0;
}

Powered by WordPress