summaryrefslogtreecommitdiff
path: root/c/squares/squares.b
diff options
context:
space:
mode:
Diffstat (limited to 'c/squares/squares.b')
-rw-r--r--c/squares/squares.b8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/squares/squares.b b/c/squares/squares.b
new file mode 100644
index 0000000..b235485
--- /dev/null
+++ b/c/squares/squares.b
@@ -0,0 +1,8 @@
+++++[>+++++<-]>[<+++++>-]+<+[
+ >[>+>+<<-]++>>[<<+>>-]>>>[-]++>[-]+
+ >>>+[[-]++++++>>>]<<<[[<++++++++<++>>-]+<.<[>----<-]<]
+ <<[>>>>>[>>>[-]+++++++++<[>-<-]+++++++++>[-[<->-]+[<<<]]<[>+<-]>]<<-]<<-
+]
+[Outputs square numbers from 0 to 10000.
+Daniel B Cristofani (cristofdathevanetdotcom)
+http://www.hevanet.com/cristofd/brainfuck/]