• 2021-04-14
    如果输入为:ABCdef 执行下面一段程序后,则输出为:
    void main( )
    {char ch;
    while((ch=getchar( ))!='
    ')
    { if(ch > ='A' && ch < ='Z') ch=ch+32;
    else if(ch > ='a' && ch < 'z') ch=ch-32;
    printf("%c",ch);
    }
    printf("
    ");
    }