9 lines
224 B
QBasic
9 lines
224 B
QBasic
|
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
|