I'm trying to make it so when I provide a value that isn't in the thirties it prints out a certain message. Here is my code:
let age = 25
if case 18...25 = age {
print("Cool demographic")
}
else if case !(30...39) = age {
print("not in there thirties")
}