Question: Random number guessing game Write a flowgorithm program to create the logic for a guessing game in which flowgorithm generates a random number between 0
Random number guessing game 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 nested 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 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
