1.
REM PROGRAM TO DISPLAY NUMBER IS PRIME OR NOT
CLS
PRINT "ENTER A NUMBER"
INPUT NUM
FOR I = 2 TO NUM -1
A = (NUM MODI)
IF (A = 0) THEN PRINT "NUMBER IS NOT A PRIME NO." ;
GOTO START
NEXT I
PRINT "NUMBER IS A PRIME NO"
START:
END
Answers
Answered by
0
Answer:
i dont know im sorry
Explanation:
im sorry pls fovige me
Similar questions