Problem in the assignment q


sir, What does this mean?
The ques was ‘CHARACTER TYPE’.

Hey @aaliyah_beg
Please share the link to the question along with your code in IDE

To share code via IDE

CODE : https://ide.codingblocks.com/s/358658

QUES:https://hack.codingblocks.com/app/contests/1915/304/problem

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