//Throw this program into a C++ Compiler. if you dont know how to do that properly, do a google search. //Oh, and sucks to be you if you cant understand this. I dont use notes for my lazy ways. //GuessinGame.cpp //Thomas S. Field //11/25/09 //Randomly generate a number between 1 and 100. // The user guesses. If wrong, loop back to the beginning, and have them try again. //count the number of times they get it wrong. Then rate their intelligence. #include #include #include #include using namespace std; int main () { srand(time(NULL)); int random = (rand() % 100 + 1); int i = 0; int userGuess; while (userGuess != random) { cout <<"Pick a number : "; cin >> userGuess; i++; if (random > userGuess) cout << "Go higher!"<< endl <