SHARE
TWEET

problem_4

Raddia_Akter_Hride May 26th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     char ch;
  5.     scanf("%c", &ch);
  6.         if((ch>='a' && ch<='z') || (ch>='A' && ch<='Z'))
  7.             printf("Alphabet\n");
  8.         else if(ch>='0' && ch<='9')
  9.             printf("Digit\n");
  10.         else
  11.             printf("Special character\n");
  12.     return 0;
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top