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;
}

October 14, 2008

What is below??

Filed under: Life — Chris @ 10:58 pm

Does anyone know what is below….

#include

using namespace std;

int main()

{
cout << "7+3=" << 7+3 << endl;
cout << "7.0/3.0=" << 7.0/3.0 << endl;
cout << "7%3=" <<7 % 3 << endl;
cout << "6%3=" << 6 % 3 << endl;
cin.get();
return 0;
}

haha...well this is what I am trying to learn...this is something I have created....Enjoy...

Powered by WordPress