Q BASIC PROGRAM TO CHECK WHETHER THE GIVEN NO IS POSITIVE NEGATIVE OR NEUTRAL NUMBER. SUB
DECLARE SUB CHECK(N)
CLS
INPUT "ENTER ANY NUMBER";N
CALL CHECK(N)
END
SUB CHECK(N)
IF N>0 THEN
PRINT "POSITIVE NUMBER"
ELSE
IF N<0 THEN
PRINT "NEGATIVE NUMBER"
ELSE
PRINT "NEUTRAL NUMBER"
END IF
END SUB
Search This Blog
Wikipedia
Search results
Subscribe to:
Post Comments (Atom)
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
VISIT TO ELECTION COMMISSION IN 2076 BHADRA 3(TUESDAY) WE WENT TO ELECTION TO LEARN THE ELECTION PROCESS AND HOW PEOPLE ELECTION PROCESS....
-
Dashain is the religious festival of Nepal. It is the longest and the most auspicious festival in the Nepalese annual calendar, celebr...
No comments:
Post a Comment