1 solutions

  • 0
    @ 2025-11-29 12:35:42

    C :

    #include<stdio.h>
     
    int main() {
        char ch;
        scanf("%c", &ch);
        if((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')){
            printf("It is an English character.\n");
        } else if (ch >= '0' && ch <= '9') {
            printf("It is a digit character.\n");
        } else {
            printf("It is other character.\n");
        }
        return 0;
    }
    
    • 1

    Information

    ID
    87
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By