# include<stdio.h>
int main()
{
char ch;
scanf("%c",&ch);
((ch>='a')&&(ch)<='z')?(ch=ch+'A'-'a'):ch;
printf("%c",ch);
return 0;
}
For the case of conversion processes have many common if statements, switch statements like sorting process to achieve the desired objectives.