1 00:00:00,580 --> 00:00:07,060 OK, welcome back to Section three, lesson eight, and this is our Section three challenge. 2 00:00:07,060 --> 00:00:13,900 So we're going to review everything that we went over in Section three with this, and that's including 3 00:00:14,020 --> 00:00:17,010 go through them with this challenge right here. 4 00:00:17,380 --> 00:00:20,320 So we're going to start with these variables for the ages. 5 00:00:20,320 --> 00:00:25,500 For Fido and Whiskers, Fido, age equals 12, Whiskas age equals nine. 6 00:00:26,200 --> 00:00:33,880 So copy those down into your code and then store the number seven as a variable named dog years and 7 00:00:33,880 --> 00:00:36,670 store the number five is a variable named cat years. 8 00:00:36,820 --> 00:00:39,580 So we have four variables you need to have in your code. 9 00:00:39,580 --> 00:00:44,740 Fido, age 12, Whiskers age nine, dog years seven and cat years five. 10 00:00:45,770 --> 00:00:50,480 Now you're going to calculate how old Fido and Whiskers are in human years. 11 00:00:51,480 --> 00:00:56,760 OK, so put in another calculation that will do that and store those in new variables. 12 00:00:58,280 --> 00:01:00,560 And you can choose what names you want to give to those. 13 00:01:02,130 --> 00:01:08,300 And then you're going to create a boolean to say whether or not Phyto is older than Whiskas. 14 00:01:09,010 --> 00:01:09,420 OK. 15 00:01:10,950 --> 00:01:17,670 Then you're going to print a string to the console with the boolean variable, like is vital, older, 16 00:01:18,330 --> 00:01:18,700 true. 17 00:01:19,300 --> 00:01:19,580 OK. 18 00:01:20,770 --> 00:01:22,980 And there are a couple of ways you can do the string. 19 00:01:23,200 --> 00:01:28,000 We showed you those in the past so you can do string concatenation or string interpolation. 20 00:01:29,390 --> 00:01:31,890 And those are your challenges. 21 00:01:31,960 --> 00:01:39,860 OK, so he gave you some variables, calculate what they are in human years and in human years, which 22 00:01:39,860 --> 00:01:44,870 pet is older, Fido or Whiskers, and then print out to the console. 23 00:01:44,870 --> 00:01:47,690 If Fido is older, say, is Fido older? 24 00:01:47,750 --> 00:01:48,170 True. 25 00:01:48,950 --> 00:01:51,470 And if it's false, then is five older false. 26 00:01:52,330 --> 00:01:52,670 OK. 27 00:01:53,720 --> 00:01:57,860 That's it, good luck and we'll see you in the next video for the solution.