求大神帮忙用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/08/28 02:45:02
![求大神帮忙用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](/uploads/image/z/1024969-49-9.jpg?t=%E6%B1%82%E5%A4%A7%E7%A5%9E%E5%B8%AE%E5%BF%99%E7%94%A8C%E8%AF%AD%E8%A8%80%E7%BC%96%E5%86%99%E8%BF%99%E4%B8%AA%E7%A8%8B%E5%BA%8F.%E6%80%A5.Please+input+a+character+from+the+keyboard%2Cif+it+is+acapital+letter%2Ctranslate+it+into+the+corresponding+lowercase%2Cand+print+theresult+out%2Cif+it+is+a+lowercase%2Cchange+it+into+the+uppercase%2Cand+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