OK, welcome back to Section three, lesson eight, and this is our Section three challenge.
So we're going to review everything that we went over in Section three with this, and that's including
go through them with this challenge right here.
So we're going to start with these variables for the ages.
For Fido and Whiskers, Fido, age equals 12, Whiskas age equals nine.
So copy those down into your code and then store the number seven as a variable named dog years and
store the number five is a variable named cat years.
So we have four variables you need to have in your code.
Fido, age 12, Whiskers age nine, dog years seven and cat years five.
Now you're going to calculate how old Fido and Whiskers are in human years.
OK, so put in another calculation that will do that and store those in new variables.
And you can choose what names you want to give to those.
And then you're going to create a boolean to say whether or not Phyto is older than Whiskas.
OK.
Then you're going to print a string to the console with the boolean variable, like is vital, older,
true.
OK.
And there are a couple of ways you can do the string.
We showed you those in the past so you can do string concatenation or string interpolation.
And those are your challenges.
OK, so he gave you some variables, calculate what they are in human years and in human years, which
pet is older, Fido or Whiskers, and then print out to the console.
If Fido is older, say, is Fido older?
True.
And if it's false, then is five older false.
OK.
That's it, good luck and we'll see you in the next video for the solution.