Question: 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
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 (n1), 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 - Khis solution will require nested loops (loop within a loop) Remember the following: - use clear prompts for your input - label each oulput number or name - use appropriate constants
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
