home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
CLIPPER
/
MISC
/
LB09C.ZIP
/
POWER.BAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
BASIC Source File
|
1992-03-02
|
288 b
|
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