1204: 大小写转换 摘要:放心,题目的End of file其实没什么用,可以不处理 ```cpp #include #include using namespace std; int main() { …… 题解列表 2023年01月01日 0 点赞 0 评论 301 浏览 评分:9.9
我写比较简单getline(cin,s)运用一下就行了!1204: 大小写转换 摘要:##1204: 大小写转换 ####一如既往的秒杀题,就是这个优质题解到底怎么申请啊!我想要优质题解:tw-1f367: ```cpp #include using namespace std…… 题解列表 2022年12月30日 0 点赞 0 评论 263 浏览 评分:6.0
最基本的思路这道题 摘要:解题思路:利用不断输入想到while,然后利用字符数组将小写字母-32变成大写字母;注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ …… 题解列表 2022年12月23日 0 点赞 0 评论 137 浏览 评分:0.0
大小写转换 摘要:解题思路:注意事项:EOF不是特殊字符,而是定义在头文件<stdio.h>的常量,通常等于-1,是判断文件是否结束的标志。参考代码:#include<stdio.h>#include<string.h…… 题解列表 2022年12月22日 0 点赞 0 评论 253 浏览 评分:9.9
大小写转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[50]; while(gets(a)) { …… 题解列表 2022年12月22日 0 点赞 0 评论 118 浏览 评分:0.0
1204: 大小写转换 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char str[85] = {0}; …… 题解列表 2022年10月26日 0 点赞 0 评论 129 浏览 评分:0.0
大小写转换-Java 摘要:参考代码: import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2022年07月27日 0 点赞 0 评论 270 浏览 评分:9.9
小写转大写超简单! 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char s[81];//保存输入的字符串 …… 题解列表 2022年05月10日 0 点赞 0 评论 192 浏览 评分:0.0
题解 大小写转换 简单易懂 摘要:解题思路: 1.利用while函数输入字符串s 2.当输入的字符串为 End of file 跳出循环 3.用islower函数用于判断字符是否为小写字母(a-z) 4.int toupper…… 题解列表 2022年04月24日 0 点赞 0 评论 244 浏览 评分:0.0
编写题解 1204: 大小写转换 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>#include<ctype.h>using namespace std;int main(){ …… 题解列表 2022年03月28日 0 点赞 0 评论 275 浏览 评分:0.0