Easy Question 2 Write method/function that calculates a dog’s “true” age relative to the current year. 1 human year equals 7 dog years. Example:

Easy Question 2

Write method/function that calculates a dog’s “true” age relative to the current year. 1 human year equals 7 dog years.

Example:

currentDogAge(2000) // would return 126

// A dog born in the year 2000 would be 126 years old in 2018