Thursday, 3 October 2019

QBasic programming to display factors

Write a program to display factor.

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

Internet of Things (IoT)

  IoT is the technology or platform that connects any device into network and helps human beings to make their work amazingly faster and eas...