summary refs log tree commit diff stats
path: root/examples/fizzbuzz.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fizzbuzz.nim')
-rw-r--r--examples/fizzbuzz.nim14
1 files changed, 0 insertions, 14 deletions
diff --git a/examples/fizzbuzz.nim b/examples/fizzbuzz.nim
deleted file mode 100644
index 4b203512c..000000000
--- a/examples/fizzbuzz.nim
+++ /dev/null
@@ -1,14 +0,0 @@
-# Fizz Buzz program
-
-const f = "Fizz"
-const b = "Buzz"
-for i in 1..100:
-  if i mod 15 == 0:
-    echo f, b
-  elif i mod 5 == 0:
-    echo b
-  elif i mod 3 == 0:
-    echo f
-  else:
-    echo i
-