MY CODE
#include
using namespace std;
int main()
{
cout<<âlowercase and uppercase programâ<<endl<<âenter the characterâ<<"\n";
char _a;
cin>>_a;
if(_a>=âaâ && _a<=âzâ)
{
cout<<âlowercaseâ;
}
else if(_a>=âAâ && _a<=âZâ)
{
cout<<âUPPERCASEâ;
}
else
{
cout<<âinvalidâ;
}
return 0;
}
IT IS CORRECT BY ALL MEANS. and i am sure it will pass all the tests. but it says it fails.
CODE NOT GETTING SUBMITTED
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.
1 Like