Wednesday, November 16, 2016

TI-84 Plus: Modulo (Jack Kesler)

TI-84 Plus:  Modulo  (Jack Kesler)

The program MODULO calculates the modulus for two numbers.  The program loops, allowing for additional calculations.  Special thanks to Jack Kesler for program and for giving me permission to post it.

TI-84 Plus Program MODULO – Author:  Jack Kesler

Lbl 50
ClrHome
Disp "TO FIND"
Disp "M MOD N"
Input "M= ",M
Input "N= ",N
M/N→T
iPart(T)→I
(T-I)*N→T
Disp "MOD= ",T
Pause
ClrHome
Disp "DO MORE:"
Disp "Y=0, N=1"
Input "ANS= ",A
If A=0
Then
Goto 50
Else
ClrHome
Stop
End

Eddie


This blog is property of Edward Shore, 2016.