Output in all cases is coming out to be correct. Please correct and comment the code
https://ide.codingblocks.com/s/669666
I could not pass 2 test cases .Output in all cases is coming out to be correct. Please correct and comment the codehttps://ide.codingblocks.com/s/669666
refer @akshat1409,
#include <iostream>
using namespace std;
int main() {
char ch;
cin>>ch;
if(ch >= 'a' && ch <= 'z'){
cout<<"L";
}
else if(ch >= 'A' && ch <= 'Z'){
cout<<"U";
}
else{
cout<<"I";
}
}