Homework #3 sample output

Your output should look SOMETHING like this…..  Be sure to give me screenshots.   In this example, the human being (ME!) guessed “89” and my job is to coax the computer to the right answer.  Don’t lie to the computer or the program won’t work.
Think of a Number...!
Guess #1: I guessed 50
Am I...? 1=Low, 2=High, 3=Correct ? 1
Guess #2: I guessed 75
Am I...? 1=Low, 2=High, 3=Correct ? 1
Guess #3: I guessed 88
Am I...? 1=Low, 2=High, 3=Correct ? 1
Guess #4: I guessed 94
Am I...? 1=Low, 2=High, 3=Correct ? 2
Guess #5: I guessed 91
Am I...? 1=Low, 2=High, 3=Correct ? 2
Guess #6: I guessed 90
Am I...? 1=Low, 2=High, 3=Correct ? 2
Guess #7: I guessed 89
Am I...? 1=Low, 2=High, 3=Correct ? 3
Took me 7 Guesses! Aren't I a smart computer???

Leave a Reply

Your email address will not be published.