#include
using namespace std;
int main() {
char st;
cin>>st;
if(st>=‘A’ && st<=‘Z’)cout<<“U”;
else if(st<=‘a’ && st>=‘z’)cout<<“L”;
else cout<<‘I’;
return 0;
}
#include
using namespace std;
int main() {
char st;
cin>>st;
if(st>=‘A’ && st<=‘Z’)cout<<“U”;
else if(st<=‘a’ && st>=‘z’)cout<<“L”;
else cout<<‘I’;
return 0;
}
Hello @yashtripathi6969_0cd127807d833066,
In else if condition it should be else if(st>=‘a’ && st<=‘z’)
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.