EasyManua.ls Logo

Texas Instruments TI-99/4A - Page 141

Texas Instruments TI-99/4A
242 pages
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...
A
SIMPLE
PROGRAM
MAKE
YOUR
COMPUTER
A
CALCULATOR
Let's
try
a simple program now. First, if
you
have
anything
on
your
screen, press
ENTER
to
start
on
a
new
line.
Now
type
the
word
NEW
and
then
press
the
ENTERkey.
The
NEW
command
clears
the
computer's
memory
and
displays
the
Tl
BASIC
READY
message
on
the
screen. (It
seems
to
do
the
same
thing
as
the
CLEAR
key,
but
the
CLEAR
key
only
clears
the
screen,
not
the
memory.)
Now,
type
the
following,
and
don't
forget
to
press
ENTER
at
the
end
of
each
line!
(Don't
be
concerned
ifa
program
line runs
over
onto
the
next
line.
Just
press
ENTER
when
you're
done
typing
each
numbered
program line.)
10
CALL
CLEAR
20
PRINT
"THIS
PROGRAM
WILL"
30
PRINT
"MULTIPLY
TWO
NUMBERS."
40
PRINT
"WHAT
IS
THE
FIRST
NUMBER?"
50
INPUTA
60
PRINT
"WHAT
IS
THE
SECOND
NUMBER?'
70
INPUT
B
80C
=
A*B
90
PRINT
"THE
ANSWER
IS"
100
PRINT
C
140

Other manuals for Texas Instruments TI-99/4A

Related product manuals