EasyManua.ls Logo

Laser 128 - Page 146

Laser 128
255 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...
BASIC COMMANDS AND
STATEMENTS
NEW
10
INPUT
A
20
IF
A > B
THEN
B=A
30
PRINT
B;
"IS
THE
LARGEST"
40
GOTO
10
]
RUN
? 37
37 IS
THE
LARGEST
? 40
40 IS
THE
LARGEST
The
above
program
will
print
out
the
largest
number
so
far
entered.
11-57

Table of Contents