#include <stdio.h>
void main() {
int op;
char ch;
printf("1. Lower to Upper\n2. Upper to Lower\n"); scanf("%d", &op);
scanf("%c",&ch);
switch(op){
case 1:
if(ch>= 'a' && ch<='z'){
}else{
}
break;
case 2:
if(ch>= 'A' && ch<='Z'){
}else{
}
break;
default:
break;
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnZvaWQgbWFpbigpIHsKCWludCBvcDsKCWNoYXIgY2g7CglwcmludGYoIjEuIExvd2VyIHRvIFVwcGVyXG4yLiBVcHBlciB0byBMb3dlclxuIik7CglwcmludGYoIk9wdGlvbjogIik7CglzY2FuZigiJWQiLCAmb3ApOwoJcHJpbnRmKCJDaGFyYWN0ZXI6IFxuIik7CglzY2FuZigiJWMiLCZjaCk7Cglzd2l0Y2gob3ApewoJCWNhc2UgMToKCWlmKGNoPj0gJ2EnICYmIGNoPD0neicpewoJCXByaW50ZigiVXBwZXI6ICVjXG4iLGNoKTsKCX1lbHNlewoJCXByaW50ZigiTm90IGxvd2VyXG4iKTsKCX0KCQlicmVhazsKCQljYXNlIDI6CgkJaWYoY2g+PSAnQScgJiYgY2g8PSdaJyl7CgkJCXByaW50ZigiTG93ZXI6ICVjXG4iLGNoKzMyKTsKCQl9ZWxzZXsKCQkJcHJpbnRmKCJOb3QgVXBwZXJcbiIpOwoJCX0KCQlicmVhazsKCQlkZWZhdWx0OgoJCXByaW50ZigiSW52YWxpZFxuIik7CgkJYnJlYWs7Cgl9CgkKCQp9