Flowchart is properly formed | 10 |
Flowchart describes a set of correct steps to solve the problem | 10 |
User can make unlimited guesses but program can end | 10 |
Program gives correct hints | 10 |
Total | 40 pts |
To practice with flow charts, loops, and decisions
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.