Output Issues
Posted: Wed Jul 22, 2015 12:40 pm
So I am running QB64 on my windows 8.1 and I wrote this program for modular arithmetic but the output is too long for the screen, and I need all the numbers what do I do?
Here is the code:
Here is the code:
Code: Select all
INPUT a
INPUT b
d = a
c = a MOD b
PRINT c
1 a = a * d
a = a MOD b
IF a = c THEN END ELSE PRINT a
GOTO 1