lowercase

 #include <stdio.h>


int main() {

    //97 - 122--> ASCII value for lowercase 

    char ch;

    printf( " Enter a alphabet : ");

    scanf("%c",&ch);

    if (ch<=122 && ch>=97){

        printf(" it is lowercase ");

        

    }

    else {

        printf( " it is not lowercase");

    }

    

    

    

    

    

    return 0;

    

}    

Comments

Popular posts from this blog

Sum of Even Numbers till N

Find the Runner-Up Score!

Print All Substrings