ack/lang/basic/test/test24.b
1985-01-24 11:27:36 +00:00

9 lines
224 B
Brainfuck

100 rem float arithmetic
110 print "1.0+3.14=" 1.0+3.14
115 a= 1.0+3.14: print a
120 print "3.19*23.6=", 3.19*23.6
125 b= 3.19*23.6: print b
220 print "3.19*(23.6+23)=", 3.19*(23.6+23)
225 b= 3.19*(23.6+23): print b
230 end