Nick Walter Challenges (Part 3)
Soooo before going back to Angela's course, I want to go through the rest of these Nick Walter challenges. They've been good fun and very simple, yet encouraging that I CAN apply what I know. Start time - 13:39 Switch Statements // 1) Make a switch for a double constant with at least 3 cases and a defauly // 2) Make a new swtich that has multiple matches // 3) Make a switch that uses interval matching OK, looking ahead, I'm not familiar with the terms multiple matches and interval matching. Good - something to learn and look up! Let's look within Nick's course first.... Right I got that - multiple matches I have seen before - it's when there are a few matches in one line which can return the same string. Interval matching is what I suspected it was - using the 1...5 range or 1..<10 etc. Right let's go! //1) let number = 7.5 switch number { case 7.3 : print ( " \ ( number ) is too low!" ) c...