8.3 A Swift switch Statement Example
With the above information in mind we may now construct a simple switch statement:
let value = 4
switch (value)
{
case 0:
print("zero")
case 1:
print("one")
case 2:
print("two")
case 3:
print("three")
case 4:
print("four")
case 5:
print("five")
...