Question: Would someone help me make sure this looks like the correct form of pseudocode? Please. I am trying to understand it, along with the wording
Would someone help me make sure this looks like the correct form of pseudocode? Please. I am trying to understand it, along with the wording and terminology.
beginElectricCoffeeMaker():
Display Current Time
Add water and coffee to machine
IF ON Button is pressed
START Boiling Water and Mixing Coffee
START the Automatic Sensor for WATER LEVEL
START Heating Sensor to keep Coffee Pot Warm
ENDIF;
WATER LEVEL is too low brewing stops
ENDIF;
SEND the mix to the glass container
ENDIF;
IF PROGRAM Button is pressed
Wait for PRE-SET TIME
START Boiling Water and Mixing Coffee
START Heating Sensor to keep Coffee Pot Warm
ELSE Enter Sleep Mode
ENDIF;
ENDIF;
IF OFF Button is pressed
IF Machine is ON
Shut down machine
Else Display Current Time
ENDIF;
ENDIF;
Set Machine Time
IF ON Button is pressed twice
Set Hour and Minute from user (hh-mm)
Press ON Button Time is Set
Machine Displays Correct Time
Else Display Current Time
ENDIF;
END;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
