Manchester-【大小写转换】 摘要:#### 解题思路: 小写字母ascii值减去与其对应的大写字母的ascii值等于32。 输入一个字符串。 循环遍历每一个字符,是小写字母则输出对应的大写字母。 …… 题解列表 2020年04月19日 0 点赞 0 评论 1166 浏览 评分:6.7
大小写转换-题解(C语言代码)值得推荐 摘要: #include #include int main() { char x[500]; int i,j,k; while(ge…… 题解列表 2019年12月01日 0 点赞 0 评论 1538 浏览 评分:7.3
优质题解 大小写转换-题解(C语言代码)简单易懂 摘要:**解题思路:** 利用getchar或scanf循环读取字符串或字符,如果是小写字符则转化为大写字符,当输入读到换行符时输出读入的内容,输入以End of file为止。 **函数用法:** …… 题解列表 2020年05月04日 1 点赞 0 评论 2364 浏览 评分:9.8
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年02月03日 0 点赞 0 评论 606 浏览 评分:9.9
大小写转换-题解(C语言代码) 摘要:对于这类题目,主要明白如何将小写字母更换为大写子母,这里以C内容作为解析 在ASCII码在ASCII码中,小写字母的ASCII码分布在第97-122位,大写字母的ASCII码分布在65-90位,前后…… 题解列表 2020年05月24日 0 点赞 0 评论 1465 浏览 评分:9.9
大小写转换-题解(C语言代码) 摘要:```c #include #include int main() { char ch; ch=getchar(); while(ch!=EOF) { if(ch>=…… 题解列表 2020年11月09日 0 点赞 0 评论 1554 浏览 评分:9.9
Hifipsysta-1204题-大小写转换(C++代码)cctype很简单 摘要:```cpp #include #include #include using namespace std; int main(){ string str; whil…… 题解列表 2022年01月30日 0 点赞 0 评论 733 浏览 评分:9.9
大小写转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<string> using namespace std; int main() { str…… 题解列表 2018年05月17日 0 点赞 0 评论 1914 浏览 评分:9.9
大小写转换-题解(C/C++代码)(简单版) 摘要:#### 解题思路: 该题主要用到了toupper函数 transform(s.begin(),s.end(),s.begin(),::toupper);//小写变成大写 transform…… 题解列表 2020年02月10日 0 点赞 0 评论 1943 浏览 评分:9.9