Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help with pseudocode Maria has asked you to create a program that prompts the user to enter the lower bound and the upper
I need help with pseudocode
Maria has asked you to create a program that prompts the user to enter the lower bound and the upper bound. You have decided to write pseudocode to design the program before actually developing the code. When run, the program should ask the user to guess a number. If the number guessed is lower than the random number, the program should print out a message like "Nope, too low." If the number guessed is higher than the random number, print out a message like "Nope, too high." If the number guessed is the same as the random number, print out a message like "You got it
Note: The output messages you include in your pseudocode may differ slightly from these samples.
Sample Output
Below is one sample output of the program, with the user input demonstrated by bold font.
Welcome to the higherlower game, Bella!
Enter the lower bound:
Enter the upper bound:
Great, now guess a number between and :
Nope, too low.
Guess, another number:
Nope, too high.
Guess another number:
You got it
Below is another sample output of your program, with the user input demonstrated by bold font.
Welcome to the higherlower game, Bella!
Enter the lower bound:
Enter the upper bound:
The lower bound must be less than the upper bound.
Enter the lower bound:
Enter the upper bound:
Great, now guess a number between and :
Nope, too high.
Guess another number:
Nope, too low.
Guess another number:
You got it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started