se = 5
sc = 3.7
sm = 8
pe = 6.3
pm = 5.7
pc = 4.3
PRINT "enter 'S' for sale, or 'P' for purchse"
INPUT t$
PRINT "enter amount"
INPUT amt
PRINT "enter 'E' for ComExc, 'C' for CottExc, 'M' for Mer"
INPUT e$
IF t$ = "S" THEN
IF e$ = "E" THEN rate = se
IF e$ = "C" THEN rate = sc
IF e$ = "M" THEN rate = sm
END IF
IF t$ = "P" THEN
IF e$ = "E" THEN rate = pe
IF e$ = "C" THEN rate = pc
IF e$ = "M" THEN rate = pm
END IF
C = rate * amt / 100
PRINT "Commish = ", C
2006-07-24
14:34:51
·
3 answers
·
asked by
812BOSS
1
in
Computers & Internet
➔ Programming & Design
I keep getting the message 3 errors, 0 warning when I try to compile this. Where are the errors????
2006-07-24
14:35:57 ·
update #1