Mercurial > baum
view examples/sum3input.baum @ 55:6279e5b14d9e
added error handling for fopen and malloc; code cleanups
author | meillo@marmaro.de |
---|---|
date | Sun, 16 Mar 2008 10:40:53 +0100 |
parents | 6e46b106c334 |
children |
line wrap: on
line source
# example program for baum # http://prog.marmaro.de/baum # # asks the user to input 3 numbers # then prints the sum of them # and returns the sum to the shell # # Attention: expect number overflow! print(0) sum(0) create(0) create(0) create(0)