0
Q:

swift do while

var x = 0; 
while x < 10 { 
    print "\(x)" //prints x until x < 10 evaluates to false
    x = x + 1
}
0

New to Communities?

Join the community