We define a tomato sandwich as two slices bread (toasted) with inward sides of bread buttered. The sandwich contains two slices of tomato, each with a touch of pepper. Write the algorithm(steps), in human language (English). Assume your target audience(reader) of your algorithm has no idea how to make tomato sandwiches -- they need your instructions.
Write an
Given: We have clean kitchen with all the necessary dishes, utensils, and ingredients. Counter is initially clear (nothing on it). Food items are all in closed containers. We have a counter with sufficient space and our uncle is present who will act as gopher (to get all the items). The bread is in a closed container or bag. the algo does not need to include cleanup.
Write an algorithm to make two tomato sandwiches and then serve one each to two aunties, who are sitting at the kitchen table.
We define a tomato sandwich as two slices bread (toasted) with inward sides of bread buttered. The sandwich contains two slices of tomato, each with a touch of pepper.
Write the algorithm(steps), in human language (English). Assume your target audience(reader) of your algorithm has no idea how to make tomato sandwiches -- they need your instructions.
Hint: assume that we have another algorithm available called "Make Toast" that will do the work for us making toast (and buttering bread ) and you can simply say something like this:
- Call algorithm "Make Toast"
- "Make Plain Toast" return 1 slice of bread to us (toasted and buttered)
- (consider calling it multiple times -- as needed
To help get started here is one step you might include(not necessary the first step):
- Ask uncle for a large cutting board, two large plates, a serrated knife, and a butter knife.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps