PROGRAM MOD
Input "NUMBER? ", X
Input "MODULUS? ", N
X-N*int(X/N)
The Input function is in the I/O submenu.
The int function is in MATH
NUM. It's the greatest integer function.
The other characters in the program are Alpha characters, or arithmetic symbols like + and *.
Check:
Send comments about this page to: Bruce.Ikenaga@millersville.edu.
Copyright 2005 by Bruce Ikenaga