题目 1124: C语言训练-大、小写问题 摘要:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> void toLow(char *str){ for(int…… 题解列表 2023年03月12日 0 点赞 0 评论 499 浏览 评分:0.0
1124: C语言训练-大、小写问题 ##解题思路首先,咱看清题目,只要把大写改小写就好了哦(我一开始看错了,离谱)所以呢,我们有以下选择~~我比较喜欢使用a[i]!=0作为判断标准~~---####***最笨的方法--a[i]>="A"&&a[i]='A'&&a[i] 题解列表 2023年02月27日 0 点赞 0 评论 589 浏览 评分:9.9
1124: C语言训练-大、小写问题-简单题解 ```c#include#includeintmain(){chara[100]={'\0'};gets(a);inti;for(i=0;a[i]!='\0';i++){if(a[i]>='A'&&a[i] 题解列表 2023年02月13日 0 点赞 0 评论 668 浏览 评分:9.9
C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include <ctype.h> #include <stdio.h> #include <string.h> int main(void) { char…… 题解列表 2023年01月09日 0 点赞 0 评论 466 浏览 评分:0.0
C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; gets(a); for(…… 题解列表 2022年12月24日 0 点赞 0 评论 541 浏览 评分:9.9
编写题解 1124: C语言训练-大、小写问题 ```c//大、小写问题#include#includevoidLowerConver(){chars[100];gets(s);intn=strlen(s);//计算字符串的实际长度for(inti=0;i='A'&&s[i] 题解列表 2022年08月30日 0 点赞 0 评论 591 浏览 评分:0.0
题解 1124: C语言训练-大、小写问题(C非常简单) 题目:输入一串字符,将其中的大写变成小写,若不为大写则原样输出解题思路:几个常见字母的ASCII码大小:A为65;a为97;0为48。因此大写字母与其对应小写之间相差32,判断出该字符为大写字母后,给其加32再输出即可。参考代码:#include#includei 题解列表 2022年08月24日 0 点赞 0 评论 751 浏览 评分: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 评论 398 浏览 评分:0.0
C语言训练-大、小写问题(定义函数的写法,超详细哦,走过路过不要错过) 摘要:解题思路:找出A到Z的函数,并将其改成a到z。注意事项:注意ASII码值的转换,注意puts与printf的区别。参考代码:#include#includevoid full(char *a){ /…… 题解列表 2022年04月24日 0 点赞 0 评论 708 浏览 评分:9.9
C语言训练-大、小写问题 为什么不能 gets(a); strlwr(a);这样写? 摘要:解题思路:注意事项:参考代码: &nb 题解列表 2022年03月01日 0 点赞 0 评论 614 浏览 评分:0.0