Begin

Cut a slice of bread from the loaf

Place in the toaster

Turn on the toaster

Wait three minutes

Remove the toast

Butter it

Add a slice of cheese

End

Turning on the toaster can be placed in any of three places.

Begin

Set the total to zero

Sort coins by size

Count the 5c coins, call the result N

Add 5 x N to the total

Count the 10c coins, call the result "whatever you like"

Add 10 x "whatever" to the total

Count the 20c coins, call the result X

Add 20 x X to the total

Count the 50c coins, call the result Y

Add 50 x Y to the total

Divide by 100

Display the total

End

Cut a slice of bread from the loaf

Place in the toaster

Turn on the toaster

Wait three minutes

Remove the toast

Butter it

Add a slice of cheese

End

Turning on the toaster can be placed in any of three places.

Begin

Set the total to zero

Sort coins by size

Count the 5c coins, call the result N

Add 5 x N to the total

Count the 10c coins, call the result "whatever you like"

Add 10 x "whatever" to the total

Count the 20c coins, call the result X

Add 20 x X to the total

Count the 50c coins, call the result Y

Add 50 x Y to the total

Divide by 100

Display the total

End

## 0 Comments:

Post a Comment

<< Home