02-15-2018, 05:19 AM
MOD program for the remainder after division.
Example:
MOD (15651153, 1546223)
15651153 ENTER 1546223 [A] result 188923
Gamo
Code:
LBL A
STO 1
X<>Y
STO 2
X<>Y
/
INT
RCL 1
x
CHS
RCL 2
+
RTN
Example:
MOD (15651153, 1546223)
15651153 ENTER 1546223 [A] result 188923
Gamo