Guessing Game

40 points

Guessing Game

Requirements

Flowchart is properly formed10
Flowchart describes a set of correct steps to solve the problem10
User can make unlimited guesses but program can end10
Program gives correct hints10
Total40 pts

Resources

Objective

To practice with flow charts, loops, and decisions

Instructions

Basics

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.

Details

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.