Friday, November 15, 2019

                                                                   E-BOX    

                            BASICS OF C PROGRAMMING   

Conditional Statements :-  Code Analysis

 PROBLEM -15:

                                     CHARACTER – UPPER OR LOWER

Write a  program that accepts a character as input and checks whether it is an uppercase letter or lowercase letter or neither.

 

Input Format:

Input consists of a single character.

Output Format:

Output consists of a single line. Refer sample output for the format.

 

Sample Input 1 :

c

Sample Output 1 :

c is lowercase letter

 

Sample Input 2:

A

Sample Output 2:

A is uppercase letter

 

Sample Input 3:

5

Sample Output 2:

5 is neither an uppercase or lowercase letter




SOLUTION :




No comments:

Post a Comment

                                                 E-BOX                                                     BASICS OF C PROGRAMMING       i -...

https://amzn.to/2LAmadv