Skip to main content
Search
Search This Blog
"life is not a problem to be solved but a reality to be experienced"
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
October 30, 2019
prime or composite in sub
DECLARE SUB CHECK(N)
CLS
INPUT"ENTER ANY NO";N
CALL CHECK (N)
END
SUB CHECK (N)
C=0
FOR I = 1 TO N
IF N MOD I = 0 C= C+1
NEXT I
IF C=2 THEN
PRINT "PRIME NUMBER"
END IF
END
Comments
Popular Posts
February 29, 2020
experience of school life till the farewell ❤❤
September 03, 2019
My father
Comments
Post a Comment