Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

while loops swift

var number = 1

while number <= 20 {
    print(number)
    number += 1
}

print("Ready or not, here I come!")
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #loops #swift
ADD COMMENT
Topic
Name
9+4 =