Exercises: Functions

These exercises are based on the variables exercises, so you may start from those (your solutions or ours) or start from scratch.

Why pay a fortune teller when you can just program your fortune yourself?



Forgot how old you are? Calculate it!



Ever wonder how much a "lifetime supply" of your favorite snack is? Wonder no more!