Question: Write a Flowgorithm program to create the logic for a guessing game in which Flowgorithm generates a random number between 0 and 1 0 0

Write a Flowgorithm program to create the logic for a guessing game in which Flowgorithm generates a random number between 0 and 100 and the player tries to guess the number.
Flowgorithm can generate a random number between 0 and a limiting value (n-1), for example: ranNum = Random(101) will generate a random number between 0 and 100.
In a loop, perform the following tasks:
Inform the user of the upper range of the random number, DO NOT allow the random number to be zero (0).
Ask user for a guess of the value of the number generated
Display a message indicating whether the player's guess was correct, too high, or too low.
Allow seven (7) guesses maximum before informing the user they lost the game.
Display a message where the user won or lost the game. If the user lost the game, include the random number in your display message to the user.
This solution will require nested loops (loop within a loop)
Keep the game running with an outside loop until the player tells the loop to not run again.
Remember the following:
use clear prompts for your input
label each output number or name properly
a comment box for your name, date and Final Exam
use appropriate variables and constants
use comments throughout the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!