Swift - Loops
Identify the error in this Swift code snippet:
outerLoop for i in 1...3 {
for j in 1...3 {
if j == 2 { break outerLoop }
}
}outerLoop for i in 1...3 {
for j in 1...3 {
if j == 2 { break outerLoop }
}
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions