Question: Pseudocode Based on the logic in your completed flowchart, you will next express the flowchart by writing it as a series of numbered steps in

Pseudocode
Based on the logic in your completed flowchart, you will next express the flowchart by writing it as a series of numbered steps in pseudocode. This pseudocode should be written in plain language, not in Coral code.
Apply plain language to design the flow and logic of the game. Be sure you are writing out your pseudocode using simple sentences that are clear to read and understand. The work you do will be completed in a series of numbered statements corresponding to obtaining the required input and output, necessary branches, and loops.
Create pseudocode statements for appropriate inputs and outputs. This should match your flowchart. Make sure you have an appropriate output message at the conclusion of each game.
Develop statements that evaluate user input and execute instructions logically. These statements will involve IF statements to provide branching, using appropriate conditionals based on the required logic to play the game. Be sure to reference your flowchart as you work since all the information you need should already be outlined there. Review the following for reminders on the IF statements you will use in your game:
Cracked Egg: Your input would be a numeric guess.
Spaceship: Your input would be the distance.
Rock-Paper-Scissors: Your input would be your choice.
Develop statements that indicate loops to appropriately control program flow. These statements will require using either FOR or WHILE loops. Your flowchart should already outline which to use, so be sure to check your previous work in this area.

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 Finance Questions!