08.21.17 - 12.17.17
Introduction to Computer Programming
Tuesday Thursday
02:00 PM - 03:20 PM
Flowchart is properly formed | 10 pts |
Flowchart describes a set of correct steps to solve the problem | 10 pts |
User can make unlimited guesses but program can end | 10 pts |
Program gives correct hints | 10 pts |
Total | 40 pts |
For this lab you will need to create a flowchart for a guessing game. In this game the computer will know a secret number and the user will be trying to guess that number.
The secret number that the computer knows does not have to be random but can instead just be a set value. The user will then have as many opportunities as needed to guess that secret number. Each time the user makes a guess that is not correct the program should tell the user they guessed too high or too low. If the user guesses the number correctly the computer should congratulate them and then the program will end.