Saturday, October 26, 2019


31.  CHECK INPUT CHARACTER IS CAPITAL OR SMALL.




DECLARE FUNCTION CHECK$(A$)
CLS
INPUT"ENTER ANY CHARACTER";A$
PRINT"THE ENTERED CHARATER IS"; CHECK$(C$)
END

FUNCTION CHECK$(A$)
C = ASC(A$)
IF C>=65 AND C<=91 THEN
CHECK$="UPPER CASE"
ELSEIF C>=97 AND C<=122 THEN
CHECK$="LOWER CASE"
ELSE 
CHTR$="NOT A CHARACTER"
END IF
END FUNCTION























































No comments:

Post a Comment

beautiful

Covid-19 Pandemic In Nepal

  Covid-19 Pandemic In Nepal Covid-19 Is the world wide pandemic in today's context.Not only Nepal but various country are suffering it....