Computer Science, asked by AryanKapoorLucknow, 5 months ago

Write a program to accept a character and check whether it is in lowercase or not.

Answers

Answered by deepagupta12
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