题解 1204: 大小写转换

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

筛选

最基本的思路这道题

摘要:解题思路:利用不断输入想到while,然后利用字符数组将小写字母-32变成大写字母;注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){  ……

1204: 大小写转换

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

编写题解 1204: 大小写转换

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[80]; int i=0,l; while(gets(a)) ……

大小写转换(c语言代码)

```c#include#includevoidtoUp(char*strs);intmain(){charstrs[81]={0};while(gets(strs)){if(!strcmp(strs,"Endoffile")){break;}toUp(strs);//小写转大写puts(strs);

c++范围for简单解法

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

大小写转换(C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char ch[100]; while(gets(ch)){//while多……

java--study||O.o

摘要:参考代码:import java.util.Scanner; public class Main  { public static void main(String[] args)     ……

1204: 大小写转换

摘要:核心:    name = &#39;Hello World&#39;    print(name.lower())  # 大写转小写    print(name.upper())  # 小写转大写 ……