-> CLS
INPUT "Enter any number"; N
C = 0
FOR I = 1 TO N
IF N MOD I = 0 THEN C = C+1
NEXT I
IF C = 2 THEN
PRINT "The number is prime"
ELSE
PRINT "The number is composite"
END IF
END
Subscribe to:
Post Comments (Atom)
Project
SWITCH Switch is a computer networking device that is used to connect many devices together on a computer network also it calle...
-
MY WINTER VACATION!! From poush 15 our winter vacation begins. On 19th poush our schools has ...
-
SWITCH Switch is a computer networking device that is used to connect many devices together on a computer network also it calle...
-
-> CLS INPUT "Enter the Radius"; R A = 22/7*R^2 PRINT "Area of circle="; A End
No comments:
Post a Comment