According to the input, uppercase and lowercase conversions

# include<stdio.h>
int main()
{    char ch;
     printf ( " Enter a character: \ the n- " );
     scanf("%c",&ch);
     if(ch>='a'&&ch<='z')
       ch=ch-'a'+'A';
       printf("%c\n",ch);
       return 0;
}

Guess you like

Origin www.cnblogs.com/2206664660-lgz/p/11721352.html
Recommended