Computer Science, asked by anushka6591, 4 months ago


B. What shall be the output of the following programs?
1) 10 REM PROGRAM TO DISPLAY NUMBER IS PRIME OR NOT
20 CLS
30 PRINT "ENTER A NUMBER"
40 INPUT NUM
50 FOR I = 2 TO NUM -1
60 A = (NUM MOD I)
70 IF (A = 0) THEN PRINT "NUMBER IS NOT A PRIME NO.";
GOTO 100
80 NEXTI
90 PRINT "NUMBER IS A PRIME NO".
100 END

Answers

Answered by schauhan4144
0

Answer:

I don't know mister or miss whatever

Similar questions