Answer to Question #236626 in Algorithms for Emmanuel Kwarfo

Question #236626
A) It is late at night and you decide to get a glass of milk before bed. Try to write a pseudocode describing the process of going to the kitchen and getting the milk.

B) Draw a flowchart to illustrate the above program.

C) Define an algorithm of the above.
1
Expert's answer
2021-09-13T14:32:51-0400
Start
Go to the kitchen
Switch on the light
Find the fridge
Open the fridge door 
Find the bottle with the milk
Close the fridge door
Find the glass in the kitchen
If found then 
Pour the milk into the glass
Else Find the other utensil
Drink the milk
If glass is empty then 
Wash the glass in washbashin
Go the bed room
Switch off the light
Stop





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS