Code-Golf: Modulus Divide
Posted
by thyrgle
on Stack Overflow
See other posts from Stack Overflow
or by thyrgle
Published on 2010-06-10T03:11:45Z
Indexed on
2010/06/10
3:22 UTC
Read the original article
Hit count: 292
language-agnostic
|code-golf
Challenge:
Without using the modulus divide operator provided already by your language, write a program that will take two integer inputs from a user and then displays the result of the first number modulus divided number by the second number.
Example:
Input of first number:2
Input of second number:2
Result:0
Who wins:
In case you don't know how Code Golf the winner is the person who writes this program in the least amount of characters.
© Stack Overflow or respective owner