#include<iostream>
#include<cctype>
using namespace std;
void main()
{
char ch;
cin.get(ch);
while(ch!='@')
{
if(!isdigit(ch))
{
if(isupper(ch))
cout<<(char)tolower(ch);
else if(islower(ch))
cout<<(char)toupper(ch);
else
cout<<ch;
}
cin.get(ch);
}
}
C++primer plus第六版课后编程练习答案6.1
最新推荐文章于 2023-10-23 21:22:58 发布