ack/lang/basic/test/test24.bas

9 lines
224 B
QBasic
Raw Permalink Normal View History

1985-01-24 11:27:36 +00:00
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