Speed converter
by Daniel Wedge
*** MORE GAMES AND PROGRAMS FOR CASIO CALCULATORS AT ***
******** http://www.student.uwa.edu.au/~wedgey *********
This program will accept a speed in either m/s or km/h and
will return the same speed with different units. Simple.
Symbols:
-> assign (the arrow)
=> if/then
^(-1) inverse (small -1 key)
@ display (the triangle).
Size: 150 bytes.
'SPEED
Lbl 0
"ENTER SPEED IN:"
"1.KM H^(-1)" <--- use the inverse key here
"2.M S^(-1)"? -> X
X=1 => Goto 1
X=2 => Goto 2
Goto 0
Lbl 1
"SPEED"? -> A
"IN M S^(-1)="
A/3.6 -> B@
Goto 3
Lbl 2
"SPEED"? -> B
"IN KM H^(-1)="
B*3.6 -> A@
Lbl 3
"FINISHED"