Computer Science, asked by saifulcpi55, 12 days ago

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

Answers

Answered by jolysanthosh57
0

Explanation:

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')

Similar questions