Casio Fx 9860
‘Guess a number program on Casio FX 9860 calculator
‘ LanceGary http://forum.basicprogramming.org/index.php/topic,821.0.html
ClrText
RanInt#(1,100)->A
“Casio has chosen a”
“number between 1 & 100”
0->H
‘F is a flag
0->F
while F=0
  “Enter your guess” ?->G
   1+H->H
   If G=A
     Then Clrtext
     “You got it!”
     “You took”
      H
      “Guesses to find the number.”
     Else If G<A
       Then “Too Low!”
       Else “Too high!”
     IfEnd
  IfEnd
WhileEnd
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.