2018-11-18 22:27:44 Swift

Swift

Copy Copied! Full
for n in 1...100 { if n % 15 == 0 { print("FizzBuzz"); } else if n % 5 == 0 { print("Buzz") } else if n % 3 == 0 { print("Fizz") } else { print(n) } }