Which programming language is this?
switch statusCode {
case 200..<300:
print("success")
case 404:
print("not found")
default:
print("error")
}
Answer: Swift
A
Play Programming Languages ▸
switch without break that matches the half-open range 200..<300 is Swift.