Question: i need the solution in C++ M. Capital or Small or Digit time limit per test: 1 seconde memory limit per test: 256 megabytes input:

i need the solution in C++ i need the solution in C++ M. Capital or Small or Digit

M. Capital or Small or Digit time limit per test: 1 seconde memory limit per test: 256 megabytes input: standard input output: standard output Given a letter X. Determine whether X is Digit or Alphabet and if it is Alphabet determine if it is Capital Case or Small Case. Note: Digits in ASCII 'O' = 48,'1' = 49 ....etc Capital letters in ASCII 'A' = 65, 'B' = 66 ....etc Small letters in ASCII 'a' = 97,'b' = 98...etc Input Only one line containing a character X which will be a capital or small letter or digit. Output Print a single line contains "IS DIGIT" if X is digit otherwise, print "ALPHA in the first line followed by a new line that contains "IS CAPITAL it X is a capital letter and "IS SMALL" if X is a small letter. Examples input Copy Copy output ALPHA IS CAPITAL input Copy Copy output IS DIGIT input Copy a output Copy ALPHA IS SMALL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!