Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

var i = 2 repeat { i *= i * 2 } while i < 100 print(i)

var i = 2

repeat {
    i *= i * 2
} while i < 100

print(i)
 
PREVIOUS NEXT
Tagged: #var #repeat
ADD COMMENT
Topic
Name
7+1 =