题解 1204: 大小写转换

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

筛选

大小写转换

解题思路:注意事项:参考代码: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];//保存输入的字符串     ……

大小写转换-Java

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

1204: 大小写转换

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {     char str[85] = {0};     ……

大小写转换

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

大小写转换

摘要:解题思路:注意事项:EOF不是特殊字符,而是定义在头文件<stdio.h>的常量,通常等于-1,是判断文件是否结束的标志。参考代码:#include<stdio.h>#include<string.h……