K1Lesson 13 of 49about 240 minutes
Control flow in depth
What you learn in this lesson
- tell many cases apart with the switch statement
- calculate values with the switch expression
- check ranges with relational patterns like >= 18 and combine patterns with and, or and not
- control loops with do, break and continue
- keep methods flat and readable with an early return
- build the Kladde’s menu as a switch
This lesson belongs to course K1
You will see this lesson's text and video once you have bought the course. The goals above show what you learn here.
€149.00
incl. VAT, one-time payment
Access to all of the course's lessons with their exercises, solutions and videos on this site, for 24 months from the purchase. A self-study course: no tutoring, no exams or grading by us, and no certificate.
Sign in and buy