求大神帮忙用C语言编写这个程序.急.Please input a character from the keyboard,if it is acapital letter,translate it into the corresponding lowercase,and print theresult out,if it is a lowercase,change it into the uppercase,and print ther

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 22:37:39
求大神帮忙用C语言编写这个程序.急.Please input a character from the keyboard,if it is acapital letter,translate it into the corresponding lowercase,and print theresult out,if it is a lowercase,change it into the uppercase,and print ther

求大神帮忙用C语言编写这个程序.急.Please input a character from the keyboard,if it is acapital letter,translate it into the corresponding lowercase,and print theresult out,if it is a lowercase,change it into the uppercase,and print ther
求大神帮忙用C语言编写这个程序.急.
Please input a character from the keyboard,if it is a
capital letter,translate it into the corresponding lowercase,and print the
result out,if it is a lowercase,change it into the uppercase,and print the
result out ,if neither,print “It
is not a letter!”message.

求大神帮忙用C语言编写这个程序.急.Please input a character from the keyboard,if it is acapital letter,translate it into the corresponding lowercase,and print theresult out,if it is a lowercase,change it into the uppercase,and print ther
参考代码:
#include
int main()
{
char c=getchar();
if (c>='a'&&c='A'&&c