Sharp EL-5230 Operation Manual page 111

Programmable scientific calculator
Table of Contents

Advertisement

Program code
Wait T
Clrt
Print"ANSWER
Input X
* If answer is correct, add (30 x
number of digits / number of
seconds) to score.
If X Q Goto WRONG
A=A+int(10˚N©T˚3)
Label WRONG
M=M+1
If M<=10 Goto QUESTION
Print"YOUR SCORE IS
Print A
End
Running the program
Press j to return to the PROG mode menu.
4.
Press 0, select the program 'NUMBER' and press e.
5.
6.
Enter the number of digits you wish to play with N.
7.
Enter the number of seconds to display the numbers.
Immediately after you press e, the game will start.
8.
9.
After 'ANSWER X=?' is displayed, enter the number you remembered
and press e. After 10 tries, the score is displayed.
Chapter 8: Application Examples
Key operations
i 3 ; T e
i 7 e
i 1 @ a ANSWER ;
e
i 2 ; X e
i 8 ; X i H ; Q
; s i 9 @ a WRONG
; e
; A ; = ; A + I
2 ( 10 k ; N z
; T k 3 ) e
i 6 @ a WRONG ;
e
; M ; = ; M + 1 e
i 8 ; M i E 10 ;
s i 9 @ a QUESTION
; e
i 1 @ a YOUR s
SCORE s IS ; e
i 0 ; A e
i 5 e
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

El-5250

Table of Contents