Dog Year Calculator
A dog that is 5 Years old is equivalent to a 42 year old human.
The human equivalent age is calcuated using the following method:
- The user inputs the age of the dog in years
- If the age is 2 or less, the human equivalent is 12 times the age.
- If the age is more than 2, the human equivalent is 24 for the first 2 years plus 6 for every additional year.
Write a program that converts the age of a dog to the equivalent for a human.