pseudocode for a sandwich:
NEEDED
1) bread
2) Mayo
3) Ham
4) Tomato
STEPS
1) the computer needs to place the bread down and place mayo on both slices
2) the computer needs to then place ham on both slices of bread
3) the computer needs to cut the tomato and place slices on one slice of the bread.
4) the computer must put both pieces of bread together
5) cut to the users preference (vertically or diagonally)
NEEDED
1) bread
2) Mayo
3) Ham
4) Tomato
STEPS
1) the computer needs to place the bread down and place mayo on both slices
2) the computer needs to then place ham on both slices of bread
3) the computer needs to cut the tomato and place slices on one slice of the bread.
4) the computer must put both pieces of bread together
5) cut to the users preference (vertically or diagonally)

0 Comments:
Post a Comment
<< Home