My most complicated program yet…I was very happy…..enjoy
#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;
}
October 17th, 2008 at 1:47 pm
Why is a score of exactly 500 considered insane?
October 17th, 2008 at 1:59 pm
Well…Nothing really…haha..It was just something one of my buddies told me to write. He wrote out a paragraph of what the program should do, to see if I could do it from memory. So, there is really no significance to it being insane at all. haha. but I thought it was a huge improvement, even though it is a very simple program. You should see my others. I also created a formula program.