Posts

Showing posts from August, 2015

program for check upper case lower case and number insert by the user

#include<stdio.h> int main() {    char ch;    printf("\nEnter The Character,number,special symbol : ");    scanf("%c", &ch);    if (ch >= 65 && ch <= 90)      {       printf("Character is Upper Case Letters");      }     else if(ch >= 97 && ch <= 122)      {       printf("Character is lower Case Letters");      }      else if(ch >= 48 && ch <= 57)     {       printf("this is a number");     }     else     {      printf("this is a special symbol");     } }