Test case cannot pass

sir everything is great in this but it is not passing 2nd testcase .also when [ is given as input it shows as uppercase.

im getting 25 mark in this

hi @uditmudgal07_2f40cca755bd8bd2 updated buddy

#include<iostream>
using namespace std;
int main() {
	char ch;
	cin>>ch;
	if(ch>='a' && ch<='z'){
		cout<<"lowercase"<<endl;

	}
	else if(ch>='A' && ch>='Z'){
		cout<<"UPPERCASE"<<endl; //CAPS
	}
	else{
		cout<<"Invalid"<<endl; // small
	}
	return 0;
}

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.