MarioMax
New Coder
I am making a psudocode for making a grilled cheese, I was wondering if mine was correct.
PROGRAM MakeGrilledCheese
IF have 2 slices of bread
Put bread on plate
ELSE
Go to the store and buy bread
IF there is one slice of cheese
Put cheese on plate
ELSE
Go to the store and buy cheese
IF 1 slice of cheese and 2 slices of bread on plate
put cheese slice on top of 1 bread slice and put the other bread slice on top of cheese
ELSE IF put together
put in toaster for 3 minutes
IF toaster dings
pull grilled cheese out close toaster and enjoy
END
PROGRAM MakeGrilledCheese
IF have 2 slices of bread
Put bread on plate
ELSE
Go to the store and buy bread
IF there is one slice of cheese
Put cheese on plate
ELSE
Go to the store and buy cheese
IF 1 slice of cheese and 2 slices of bread on plate
put cheese slice on top of 1 bread slice and put the other bread slice on top of cheese
ELSE IF put together
put in toaster for 3 minutes
IF toaster dings
pull grilled cheese out close toaster and enjoy
END