Question: no using of loops You will create a text-based game that first randomly picks an integer between 1 and 999 (both are inclusive) and then

no using of loops
no using of loops You will create a text-based game that first

You will create a text-based game that first randomly picks an integer between 1 and 999 (both are inclusive) and then asks the user to make guesses to find that integer. If the user guesses incorrectly, the program should output a hint which tells them to guess higher or to guess lower - you can customize these hints. Once the user guesses correctly, the program should output "You win!" and quit. The user has a maximum of five (5) chances to guess the correct integer, and after five unsuccessful attempts, your program should output the correct number and quit. (a) You will first design an algorithm for this guessing game and represent the algorithm using a flowchart. Your answer should use the flowchart symbols outlined in the lectures. You can draw the flowchart on paper and scan/take a picture of it. Or you can use a computer program to create the flowchart. (b) Next, represent the same algorithm using pseudocode. You should format your pseudocode according to the examples used in lectures. You may use any words or phrases to represent the commands and the steps of your algorithm as long as the meaning is clear/unambiguous. Handwritten pseudocodes will not be accepted. Note: you can use the following lines to your algorithm to pick a random integer between 11- 999), where your_variable must be replaced by a variable name of your choice

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!