Challenge 2: Convert to Dog Years

1 human year is equivalent to 7 dog years.

Write a function dogYears () that takes in a person’s age in human years (e.g. 20), calculates their age in dog years (e.g. 20*7 = 140), and returns a message in the format: “Your age in dog years is [dogYearsAge]”.

Here is an example of how you can test your code with various inputs:

console.log(dogYears(18))
console.log(dogYears(10))

And here is the output you should see in the console after you write proper code for this challenge:

Your age in dog years is 126
Your age in dog years is 70