题解 1204: 大小写转换

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

大小写转换

摘要:解题思路:模拟注意事项:参考代码:#include<iostream>#include<iomanip>usingnamespacestd;……

c++范围for简单解法

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<sstream>#include<iomanip>using namespace std;int main(){ ……

1204: 大小写转换

放心,题目的Endoffile其实没什么用,可以不处理```cpp#include#includeusingnamespacestd;intmain(){chars[81];while(gets(s)){for(inti=0;i='a'&&s[i]

小写转大写超简单!

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){     char s[81];//保存输入的字符串     ……

题解 大小写转换 简单易懂

解题思路:1.利用while函数输入字符串s2.当输入的字符串为Endoffile跳出循环3.用islower函数用于判断字符是否为小写字母(a-z)4.inttoupper(intc)把小写字母转换为大写字母参考代码:```cpp#include#includeusingnamespacestd;i

编写题解 1204: 大小写转换

摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>#include<ctype.h>using namespace std;int main(){ ……

1204: 大小写转换

摘要:#include<bits/stdc++.h> using namespace std; int main(){     string s;     while(getline(cin,s……