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)
Source by www.weheartswift.com #
 
PREVIOUS NEXT
Tagged: #var #repeat
ADD COMMENT
Topic
Name
7+5 =