IBM 5110 User Manual page 15

Apl
Table of Contents

Advertisement

10
Now, taking these considerations into account, the APL statements for
the first-level input portion might be:
V
1~~··EXAMPI...E
[1]
START: 'ENTER THE INTEREST RATE, YEARS, AND PRINCIPAL ·
[:~~]
X
E··
I]
[3]
~«X[1])18)/(X[2])40)/(X[3])500000»/El,E2/E3
r:
I~.:I
-+
P
I~()CESS
[5]
El: 'THE INTEREST RATE IS GREATER THAN
18
PERCENT'
(6]
"~STAI~T
[7]
E2: 'THE NUMBER
OF
YEARS IS GREATER THAN
40'
[BJ
··~STAI~T
[9J
E3: 'THE PRINCIPAL IS GREATER THAN
500000,00'
[:L
0:1
·1-START
[11::1
PROCESS:
V

Advertisement

Table of Contents
loading

Table of Contents