home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
LIBERTY.ZIP
/
POWER.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-08-31
|
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