Swift - Loops
Identify the error in this Swift code:
var x = 3
while x > 0
print(x)
x -= 1
var x = 3
while x > 0
print(x)
x -= 1
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions