Frying two Eggs
For humans:
Open the eggs
Put some oil inside the pan
Put eggs in when the oil is hot
Put in some salt
Wait for five minutes
For computer:
function taking out eggs:
take two eggs out of the box
if the oven switch = off
switch it to “on”
function switching on the oven:
if the oven switch=off
switch the oven to “on”
function putting in oil:
put the pan on top of the oven
open the oil bottle
put 20ml oil inside the pan
if the time=2 minutes
function putting the eggs in:
get the eggs
open the shell of one egg
place it inside the pan
open the shell of another egg
place it inside the pan
start counting time
function adding some salt:
if the desired salt>0
get the salt bag
open the salt bag
place 2mg on the top of one egg
place 2mg on the top of another egg
if time=5 minutes
else:finish
Thursday, April 30, 2009
Subscribe to:
Post Comments (Atom)
Go shopping
ReplyDeleteHuman instructions:
Enter the store
Choose goods what you what
Pay for the money
Go home
Computer instructions:
Function enter the store
Go to the door
If door is open, enter;
Else open it, enter.
Execute function choose goods
Walk around the store
Find goods what you want
If you want to buy it, take it;
Else back it original.
Execute function pay for money
Take goods to cashier's
See how much you should pay for
Give money to cashier
If money is right, go home;
Else wait for cashier give you change, go home