Powered By Blogger

Wednesday 1 June 2011

Here are the ingredients required for each drink :)


Mocha Ingredients
1 ½ cups cold coffee
2 cups milk
¼ cup chocolate
¼ cup white sugar

Tea Ingredients
½ a teaspoon of tea leaves
1 cup of hot water
a dash of milk
sugar - as per taste

Falling Water Ingredients
45ml 42 Below Feijoa vodka
100ml CH'I herbal mineral water
cucumber slice
ice

Gin and Tonic Ingredients
2 oz Gin
5 oz tonic water
1 lime wedge
ice

Tequila shot Ingredients
45ml Tequila
1 lemon wedge
salt

Absinthe shot Ingredients                       
45 ml Absinthe
1 sugar cube
fire

The list of ingredients reinforces the idea that a setup function contains specific amounts and boundaries/outlines of what each segment within the function is. For example, Size could be defined as (500,500) and the amount of alcohol could be defined as 45 ml. In addition different code require different size, just like how different drinks require different amounts of alcohol. This is why I have provided several different types of drinks to indicate the fact that different types of code require different types of initialisation, like different drinks require different types and amounts of ingredients.





No comments:

Post a Comment