Exercise 1: Playing with Numbers
Ready for a time calculation exercise?
Problem Statement
In the exercise below, calculate:
- How many hours are in a year
- How many minutes are in a decade?
- How to convert an age given in years seconds
Remember, you need to indent your code in Ruby otherwise it will give a compilation error!