baum
annotate examples/sum3input.baum @ 59:b7544f23673b
switched to version 0.5
author | meillo@marmaro.de |
---|---|
date | Wed, 25 Jun 2008 11:09:28 +0200 |
parents | 96e2d58bc346 |
children |
rev | line source |
---|---|
meillo@19 | 1 # example program for baum |
meillo@19 | 2 # http://prog.marmaro.de/baum |
meillo@39 | 3 # |
meillo@39 | 4 # asks the user to input 3 numbers |
meillo@39 | 5 # then prints the sum of them |
meillo@39 | 6 # and returns the sum to the shell |
meillo@39 | 7 # |
meillo@39 | 8 # Attention: expect number overflow! |
meillo@19 | 9 |
meillo@19 | 10 print(0) |
meillo@19 | 11 sum(0) |
meillo@54 | 12 create(0) |
meillo@54 | 13 create(0) |
meillo@54 | 14 create(0) |