Arithmetic/Integer: Difference between revisions

→‎{{header|Chef}}: fixed errors - works on ubuntu with acme::chef
(Added Oz example.)
(→‎{{header|Chef}}: fixed errors - works on ubuntu with acme::chef)
Line 172:
 
=={{header|Chef}}==
 
{{in progress|lang=Chef|day=02|month=12|year=2009}}
<lang Chef>Number Soup.
{{untested}}
<lang Chef>
Number Soup.
 
Only reads single values.
Line 182 ⟶ 180:
1 g Numbers
3 g Water
5 g Soup Mix
 
Method.
Take Numbers from refrigerator.
Take Soup from refrigerator.
 
Put Numbers into 1st mixing bowl.
Add Soup tointo the 1st mixing bowl.
Pour contents of the 1st mixing bowl into 1st baking dish.
Clean 1st mixing bowl.
 
Put Numbers into 1st mixing bowl.
Remove Soup from 1st mixing bowl.
Pour contents of the 1st mixing bowl into 2nd baking dish.
Clean 1st mixing bowl.
 
Put Numbers into 1st mixing bowl.
Combine Soup into 1st mixing bowl.
Pour contents of the 1st mixing bowl into 3rd baking dish.
Clean 1st mixing bowl.
 
Put Numbers into 1st mixing bowl.
Divide Soup into 1st mixing bowl.
Pour contents of the 1st mixing bowl into 4th baking dish.
Clean 1st mixing bowl.
Put Water into 1st mixing bowl.
 
Put Water into 1st mixing bowl
Verb the Soup.
Combine Numbers into 1st mixing bowl.
Verb the Soup until verbed.
Pour contents of the 1st mixing bowl into 5th baking dish.
Clean 1st mixing bowl.
 
Serves 5.</lang>
</lang>
 
=={{header|Common Lisp}}==
Anonymous user