Problem in the assignment q
To share code via IDE
- Go to https://ide.codingblocks.com/
- Paste your code
- Press Ctrl+S and click on Save
- Paste the URL here
Hey @aaliyah_beg
#include <iostream>
using namespace std;
int main() {
char p;
cin>>p;
int X=p;
if(96<X && X<123) //updated this
{
cout<<"L";
}
else if(64<X && X<91) //updated this
{
cout<<"U";
}
else
cout<<"I";
return 0;
}
Thank you sir , understood!
1 Like