10 FOR I = 1 TO 3 20 READ P(I) 30 NEXT I 40 FOR I = 1 TO 3 50 FOR J = 1 TO 5 60 READ S(I,J) 70 NEXT J 80 NEXT I 90 FOR J = 1 TO 5 100 LET S = 0 110 FOR I = 1 TO 3 120 LET S = S + P(I) * S(I,J) 130 NEXT I 140 PRINT "TOTAL SALES FOR SALESMAN"J, "$"S 150 NEXT J 200 DATA 1.25, 4.30, 2.50 210 DATA 40, 20, 37, 29, 42 220 DATA 10, 16, 3, 21, 8 230 DATA 35, 47, 29, 16, 33 300 END
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
README | File | 2.45 KB | 0644 |
|
basic.py | File | 1.5 KB | 0644 |
|
basiclex.py | File | 1.15 KB | 0644 |
|
basiclog.py | File | 1.65 KB | 0644 |
|
basinterp.py | File | 16.88 KB | 0644 |
|
basparse.py | File | 8.69 KB | 0644 |
|
dim.bas | File | 224 B | 0644 |
|
func.bas | File | 73 B | 0644 |
|
gcd.bas | File | 359 B | 0644 |
|
gosub.bas | File | 216 B | 0644 |
|
hello.bas | File | 57 B | 0644 |
|
linear.bas | File | 420 B | 0644 |
|
maxsin.bas | File | 217 B | 0644 |
|
powers.bas | File | 268 B | 0644 |
|
rand.bas | File | 60 B | 0644 |
|
sales.bas | File | 375 B | 0644 |
|
sears.bas | File | 481 B | 0644 |
|
sqrt1.bas | File | 78 B | 0644 |
|
sqrt2.bas | File | 56 B | 0644 |
|