Total Pageviews

Tuesday, October 1, 2019

QBASIC to display Factors

CLS
INPUT "Enter any number"; N
FOR I = 1 TO N
IF N MOD I = 0 THEN PRINT I
NEXT I
END

No comments:

Post a Comment