im new to coding so please forgive me if there's something basic i keep missing.
#include <stdio.h>
int main(){
    char ch;
    int x;
    printf("How many letters do you want to check?:");
    scanf("%d",&x);
    
    for (int i=1 ;i<=x; i+=1){
        printf("Enter character:");
        scanf("%c",&ch);
        if (ch>='a' && ch<='z'){
         printf("LOWER CASE CHARACTER");
        }
        else if (ch>='A' && ch<='Z'){
            printf("UPPERCASE CHARCTER");
        }
        else{
            printf("NOT A VALID CHARACTER");
        }
    }
printf("\n Thanks");
return 0;
}
so this is my code and this is the output: it adds the not a valid charcter? is pressing enter count as a character idk
