1 00:00:00,460 --> 00:00:04,068 How did you go, were you able to complete the challenge? 2 00:00:04,068 --> 00:00:07,590 If not, no worries, you can watch my solution, 3 00:00:07,590 --> 00:00:10,470 compare to what you wrote and then try the challenge again. 4 00:00:11,650 --> 00:00:15,380 The first step was to create a variable named myLines, and 5 00:00:15,380 --> 00:00:20,740 set it's value equal to the integer 4000000 dollar sign, 6 00:00:20,740 --> 00:00:24,412 my lines equals 4 followed by 6 zeroes. 7 00:00:25,810 --> 00:00:27,260 Step two. 8 00:00:27,260 --> 00:00:32,660 Use an if statement to check whether my lines is greater than osx. 9 00:00:32,660 --> 00:00:37,590 If my lines is greater than osx we echo the string. 10 00:00:39,140 --> 00:00:43,120 If you wrote the first if statement with a closing curly brace, 11 00:00:43,120 --> 00:00:46,960 you will need to remove that curly brace for the next elseif line. 12 00:00:48,160 --> 00:00:49,580 Step three, 13 00:00:49,580 --> 00:00:54,960 add an elseif statement to check whether myLines is greater than Android. 14 00:00:54,960 --> 00:00:56,800 And if so, display the string. 15 00:00:58,315 --> 00:01:01,790 elseif my lines greater than android. 16 00:01:02,970 --> 00:01:03,730 Echo the string. 17 00:01:05,010 --> 00:01:06,500 Again, watch your curly brace. 18 00:01:07,790 --> 00:01:09,160 Step four. 19 00:01:09,160 --> 00:01:13,974 Add another elseif statement to check whether my lines is greater than 20 00:01:13,974 --> 00:01:17,000 Apollo 11, and if so display the string. 21 00:01:18,225 --> 00:01:21,850 elseif my lines are greater than Apollo 11. 22 00:01:21,850 --> 00:01:24,310 Echo this string. 23 00:01:24,310 --> 00:01:28,850 Step 5, add an else statement to display this string. 24 00:01:30,150 --> 00:01:38,500 else echo, and this time we make sure we include our final closing curly brace. 25 00:01:38,500 --> 00:01:42,151 Step six, is to test your code by changing the values of myLines. 26 00:01:45,471 --> 00:01:46,392 Let's give it a try. 27 00:01:57,152 --> 00:02:03,260 Now, we'll change the myLines variable and run the code again. 28 00:02:03,260 --> 00:02:04,440 You can push the up arrow. 29 00:02:07,940 --> 00:02:10,190 Once again, change the myLines variable. 30 00:02:16,340 --> 00:02:16,840 And run. 31 00:02:18,050 --> 00:02:18,990 And one last time. 32 00:02:20,570 --> 00:02:23,310 Change the variable, and run the script. 33 00:02:27,370 --> 00:02:29,500 If your solution was different than mine. 34 00:02:29,500 --> 00:02:30,860 That's great. 35 00:02:30,860 --> 00:02:33,600 Seldom is there only one solution. 36 00:02:33,600 --> 00:02:36,310 If you see something interesting in my code 37 00:02:36,310 --> 00:02:39,490 you should try implementing it in your own program. 38 00:02:39,490 --> 00:02:42,960 Keep practicing, so you can master these new skills. 39 00:02:42,960 --> 00:02:44,890 Until next time, happy coding.