home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
w3_prog
/
lbas09p2.arj
/
POWER.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-03-02
|
288b
|
16 lines
' a test to see if the mathematical precedences
' function correctly
' the answers are -1.9465020
' -7808.5
a = 2
b = 5
c = 1.5
d = -6
e = 12
print a - b + c ^ d * e
print 5 * 2 - 5 ^ 6 / 2 - 6