#include
using namespace std;
int main() {
char ch;
cin>>ch;
if(ch>=‘a’ && ch<=‘z’){
cout<<“lowercase”<<ch<<endl;
}
else if(ch>=‘A’ && ch<=‘Z’){
cout<<“UPPERCASE”<<ch<<endl;
}
else{
cout<<“Invalid”<<endl;
}
return 0;
}
on writing this code it shows two output correct and not other two cases why whats wrong in my code while i run same code on gdb compiler it show coorect output plz reply me