Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Swift continue statement with nested loops

for i in 1...3 {
  for j in 1...3 {
    
    if j == 2 {
      continue
    }
    
    print("i = (i), j = (j)")
  }
}
 
PREVIOUS NEXT
Tagged: #Swift #Swift #continue #statement #nested #loops
ADD COMMENT
Topic
Name
4+4 =