Re: TI-M: Even Square


[Prev][Next][Index][Thread]

Re: TI-M: Even Square




>And here's the 86 way (not very different from the 83):
>
>:Input "Number: ",x
>:int x->x
>:x+1->x
>:Disp x^2

This doesn't do exactly the right thing.  If you enter 8, then you get 81
after running the program.  You are only suposed to get 16.  16 is the next
even square.  At least it gives you a square.





Follow-Ups: References: