Question: Write a program in FLOWGORITHM and psuedocode that simulates a 2 player guessing game. Ask the first player to enter the secret number. The second
Write a program in FLOWGORITHM and psuedocode that simulates a 2 player guessing game. Ask the first player to enter the secret number. The second player should then be allowed to guess. After each guess tell the second player if they guessed too low, too high or correctly. If the player guesses correctly the game should then be over otherwise continue letting the other player guess until the . Youll need an indefinite loop for this problem because you dont know how many guesses it will take . Use a counter variable to keep track of how many guesses have been made.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
