It is late at night, and you decided to get a glass of milk before bed. Try to a pseudocode describing the process of going to the kitchen and getting the milk.
b. Draw a flowchart to illustrate the above program
1 start
2 find table bulb switch
3 on the switch if it is off
4 go to kitchen
5 find the glass and picked it up
6 find the fridz locate the milk pot
7 pour the milk in glass
8 if pot is empty, then put it in washbasin
9 else put it in fridge
10 boil the milk
11 drink the milk
12 if glass is empty then repeat step 8
13 else repeat 9
14 move to bed and switch off the bulb
15 end
Comments
Leave a comment