0

pls fix this programe

#include<stdio.h> #include<conio.h> void main() { char ch; //clrscr(); printf("Enter any character : "); scanf("%c",&ch); if (ch>='A'&&ch<='Z')||(ch>="a" ch<='z')) { printf("%c is alphabet",ch); } else if(ch>='0'&&ch<='9') { printf("%c is digit",ch); } else { printf("%c is a special cha",ch); } getch(); } https://code.sololearn.com/cMcsBZjigHLf/?ref=app

17th Dec 2021, 4:47 PM
Sahil Kshirsagar
Sahil Kshirsagar - avatar
2 Answers
0
Thanks
17th Dec 2021, 5:21 PM
Sahil Kshirsagar
Sahil Kshirsagar - avatar