Computer Science, asked by kimtaenik, 10 months ago

write down the syntax to check whether a character is in uppercase or not​

Answers

Answered by Anonymous
3

Answer:

Explanation:

Input a character from user. Store it in some variable say ch .

Character is uppercase alphabet if(ch >= 'A' and ch <= 'Z') .

Character is lowercase alphabet if(ch >= 'a' and ch <= 'z') .

If none of the above conditions met, then character is not alphabet.

Answered by qfaiz373
2

Answer:

Syntax of if else statement:

If condition returns true then the statements inside the body of “if” are executed and the statements inside body of “else” are skipped. If condition returns false then the statements inside the body of “if” are skipped and the statements in “else” are executed.

Similar questions