Swift - Loops
What will be the output of the following Swift code?
var x = 1
repeat {
print(x)
x += 1
} while x < 4var x = 1
repeat {
print(x)
x += 1
} while x < 415+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions