Commodore PET User Manual page 236

Table of Contents

Advertisement

Step 5: After the third return from the addition subroutine. C$ equals the
sum of ail four products. Step 5 prints the answer. Then return to the input state-
ment to solve another multiplication problem.
1190 PRINT:
PRltH"At-~SWER=", (:$:
PRINT: GOTO
2~1
1200 Et-m
The flow of the program looks like this:
1
10
Step 1
~g
40
50
1000
1010
1020
Step 2
1030
1040
1050
1060
{
ig~g
Step 3
1090
1100
1110
1120
1130
1140
1150
Step 4
1160
1170
1180
{
1190
Step 5
1200
PRINT"
***
MULTIPLE INTEGER MULTIPLICATION***"
223

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cbm

Table of Contents