Topic: Modulo program implemented in QuickBasic February 4, 2016
INPUT number INPUT divisor intermediate = number WHILE intermediate >= divisor intermediate = intermediate - divisor WEND remainder = intermediate PRINT remainder