• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.
    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Psudocode help

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
 
Top Bottom