EasyManua.ls Logo

Commodore 128D - Sample Program

Commodore 128D
427 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
n
n
n
n
n
H
Sample
Program
Now
it
becomes
very
easy
to
refer
to
any
num
ber
in
the
chart
by
its
column
and
row
position.
Refer
to
the
chart
below.
Find the
third
element
in
the
tenth
row
(1500).
You
would
refer
to
this
number
as
X(10,3)
in
your
program.
The
pro
gram
at
the
bottom
of
this
page
reads
the
num
bers
from
the
chart
into
a
two-dimensional
array
(X)
and
calculates
the
average
of
the
numbers
in
each
row.
Row
1
2
3
4
5
6
7
8
9
10
1
1
2
5
10
20
30
40
50
100
500
2
3
4
10
20
40
60
80
100
200
1000
Column
3
5
6
15
30
60
90
120
150
300
1500
4
7
8
20
40
80
120
160
200
400
2000
5
9
10
25
50
100
150
200
250
500
2500
n
/ \
n
n
63

Table of Contents

Other manuals for Commodore 128D

Related product manuals