home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 22
/
CD_ASCQ_22_0695.iso
/
win
/
prg
/
lb11wi
/
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