Q BASIC PROGRAM TO FIND GREATEST AMONG THREE NUMBERS. SUB
DECLARE SUB GREAT(A,B,C)
CLS
INPUT "ENTER ANY 3 NUMBERS";A,B,C
CALL GREAT (A,B,C)
END
SUB GREAT(A,B,C)
IF A>B AND A>C THEN
PRINT "GREATEST NUMBER IS";A
ELSEIF B>A AND B>C THEN
PRINT "GREATEST NUMBER IS";B
ELSE
PRINT "GREATEST NUMBER IS";C
END IF
END SUB
Search This Blog
Wikipedia
Search results
Tuesday, October 1, 2019
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