Herunterladen Inhalt Inhalt Diese Seite drucken

Sharp EL-5230 Bedienungsanleitung Seite 111

Inhaltsverzeichnis

Werbung

Programmcode
Q=ipart(S˚10^(N-3))˚10^3
+random˚10^3
Label DISPLAY
Clrt
Print Q
Wait T
Clrt
Print"ANSWER
Input X
* Wenn die Antwort richtig ist,
fügen Sie (30 × Stellenzahl /
Sekundenzahl) zum Score
hinzu.
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
Kapitel 8: Anwendungsbeispiele
Tastenfolge
; Q ; = I 1 (
; S k @ Y ( ; N
- 3 ) ) k @ Y 3
+ @ w 0 k @
Y 3 e
i 6 @ a DISPLAY ;
e
i 7 e
i 0 ; Q e
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

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

El-5250

Inhaltsverzeichnis