Write a program to accept a character and check whether it is in lowercase or not.
Answers
Answered by
0
Answer:
DECLARE FUNCTION
CHARACTER$(A$)
CLS
INPUT"ENTER ANY CHARACTER";A$
PRINT CHARACTER$(C$)
END
FUNCTION CHARACTER$(A$)
D$=LEFT$(A$)
A=ASC(D$)
IF A>67 AND A<95 THEN
CHARACTER$="LETTER IN UPPER CASE"
ELSE IF A>45 AND A<57 THEN
CHARACTER$="LETTER IN LOWER CASE"
ELSE
CHARACTER$="NOT A CHARACTER"
END IF
END FUNCTION.
Explanation:
Mark as brainlist answer.
Plzz follow me .
Similar questions