1124: C语言训练-大、小写问题 摘要:此题关键是使用isupper()函数,另外注意读数据使用getline()。#include<bits/stdc++.h> using namespace std; int main(){ …… 题解列表 2021年12月10日 0 点赞 0 评论 157 浏览 评分:0.0
C语言训练-大、小写问题(c语言) 摘要:解题思路:注意事项:参考代码:#includechar a[100];int main(){ int i,j,n=100; scanf("%[^\n]",a);//表示以回车结束 while(a[--…… 题解列表 2021年12月11日 0 点赞 0 评论 216 浏览 评分:0.0
1124: C语言训练-大、小写问题 摘要:解题思路:100以内的字符串,依次判断每个字符的值,是大写则切换成小写(+32);其它类型直接输出;注意事项:无参考代码:#include<stdio.h>#include<string.h>char…… 题解列表 2022年01月19日 0 点赞 0 评论 193 浏览 评分:0.0
Hifipsysta-1124题-C语言训练-大、小写问题(C++代码)7行代码搞定 摘要:```cpp #include #include #include using namespace std; int main(){ string str; getl…… 题解列表 2022年01月30日 0 点赞 0 评论 132 浏览 评分:0.0
[Sapphire]1124:大小写转换(C语言代码) 摘要:解题思路:大写字母+=32=小写字母参考代码:#include<stdio.h> #include<string.h> int main() { int i; char st…… 题解列表 2022年02月16日 0 点赞 0 评论 221 浏览 评分:0.0
C语言训练-大、小写问题 为什么不能 gets(a); strlwr(a);这样写? 摘要:解题思路:注意事项:参考代码: &nb 题解列表 2022年03月01日 0 点赞 0 评论 166 浏览 评分:0.0
C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int T(){ int i=0,L; char a[50]; gets(a);…… 题解列表 2022年05月06日 0 点赞 0 评论 123 浏览 评分:0.0
C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ getline(cin,s); fo…… 题解列表 2022年05月10日 0 点赞 0 评论 161 浏览 评分:0.0
关于如何用多行代码写出str.lower()的功能 摘要:解题思路:注意事项:参考代码:a = list(input())for i in range(len(a)): if 65<=ord(a[i])<= 90: num = ord(…… 题解列表 2022年05月10日 0 点赞 0 评论 173 浏览 评分:0.0
32!32!32!32!32!32!32!32!记不住要会用软件试出来 摘要:解题思路:注意事项:现在不太看题解,就自己用IDLE写,有联系就是不一样,会越来越熟练,大概几题程序题,应该要模拟一下,控制一下按时间参考代码:s=input()for i in s: if (…… 题解列表 2022年05月24日 0 点赞 0 评论 179 浏览 评分:0.0