题解 1204: 大小写转换

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

筛选

大小写转换-题解(C++代码)

```cpp#include#include#includeusingnamespacestd;intmain(){chara[80];while(gets(a)){if(strcmp(a,"Endoffile")){intlen=strlen(a);for(inti=0;i='a'&&a[i]

大小写转换

摘要:解题思路:18:45:48注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100];int i,n;while(scan……

1204: 大小写转换

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

大小写转换

解题思路:注意事项:参考代码:publicclassMain{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);while(scanner.hasNext()){char[]arr=scanner.next(

编写题解 1204: 大小写转换

摘要:解题思路:注意事项:参考代码:while True:     try:         a=input()         for i in a:          

编写题解 1204: 大小写转换

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

题解 大小写转换 简单易懂

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

小写转大写超简单!

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