Help regarding this code

why i am not getting a tick mark after i have successfully passed the test cases?

hi @Rrr

#include<iostream>
#include<string>
using namespace std;
int main() {
	char ch;
	cin>>ch;
	if(ch>='a' and ch<='z'){
		cout<<"lowercase";
	}
	else if(ch>='A' and ch<='Z'){
		cout<<"UPPERCASE";
	}
	else{
		cout<<"Invalid";
	}
	return 0;
}

this is passing all test cases… maybe try refreshing the page…

hi @Rrr
I hope it’s clear now??

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.