Thursday, 27 February 2014

Day 12

Today I learned how to use switch statments as a replacement for if/else statments. Switch basically takes a variable and tests its value against all of the other values.I tried remaking the Cola machine program while using switch statments but I didn't finish. Here is the site were I am getting all of my exercises from.

No comments:

Post a Comment