Computer Science, asked by saifulcpi55, 29 days ago

take a character input from the user and check if it is a digit or not

Answers

Answered by payal2502mahato
0

Answer:

First check if character is alphabet or not. A character is alphabet if((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')) . Next, check condition for digits. A character is digit if(ch >= '0' && ch <= '9')

plz mark my ans as a brainlaist

Similar questions