8.2k views
22 votes
E. Write an algorithm to show 'How to prepare a cucumber sandwich?". ​

User Jirka
by
4.5k points

1 Answer

7 votes

Answer:

Place slices of bread on plate, side by side...

Postcondition: Sandwich is ready to eat.

Step 1: Start with the number 1.

Step 2: find another person and form a pair.

Step 3: add your numbers together.

Step 4: one person from the pair sits down.

Step 5: the other person goes back to step 2.

User Shynline
by
4.7k points