JakeLin-题解1124:C语言训练-大、小写问题 (C++代码) 摘要:```cpp #include #include using namespace std; int main(){ char s[100]; gets(s); for(int i=…… 题解列表 2020年02月16日 0 点赞 2 评论 623 浏览 评分:8.0
[C语言训练ctype.h中的int tolower(int c)大写字符转换为小写字符 摘要:```c #include #include int main() { int c; while((c=getchar())!=EOF){ putchar…… 题解列表 2020年04月16日 0 点赞 0 评论 384 浏览 评分:8.0
优质题解 C语言训练-大、小写问题 摘要:解题思路:C标准中有一个一个头文件,这里面定义了一批C语言字符处理函数,用于测试字符是否属于特定的字符类别,如字母字符、控制字符、数字、等等 头文件: 函数: (1)int islower(in…… 题解列表 2022年01月18日 2 点赞 3 评论 3431 浏览 评分:8.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:输出超额(没有控制100个字符):#include <stdio.h> int main() { char ch; while((ch=getchar())!='\n&#…… 题解列表 2019年01月16日 0 点赞 0 评论 1007 浏览 评分:8.8
C语言训练-大、小写问题 (C语言代码) 摘要:#include<stdio.h>#include<string.h>//处理字符串的头文件int main(){ char s[100]; int i,len; gets(s);//输入一个字符串以…… 题解列表 2017年06月18日 4 点赞 0 评论 2311 浏览 评分:9.0
C语言训练-大、小写问题-题解(C语言代码) 摘要:对于本题仅需要将字符串长度求出,通过循环判断输出即可 ```c #include #include int main() { int i,A; char a[101]; gets…… 题解列表 2020年02月11日 0 点赞 3 评论 1954 浏览 评分:9.6
C语言训练-大、小写问题 (C语言代码) 摘要:#include <stdio.h>#include<string.h>//编译预处理命令,用于下面求字符串长度int main(){ char str[100];//字符串长度为100 int i,…… 题解列表 2017年09月27日 0 点赞 0 评论 1010 浏览 评分:9.9
C语言训练-大、小写问题 (C语言代码) 摘要:#include<stdio.h>int main(){ char c; while((c=getchar())&&!= '\n') { if(c>='A' &…… 题解列表 2019年02月18日 0 点赞 0 评论 1546 浏览 评分:9.9
C语言训练-大、小写问题-题解(C语言代码)值得参考 摘要:值得注意的是一定要用gets函数来获得字符串 否则将会若要用scanf会受到空格或者Tab的影响 #include #include int main() …… 题解列表 2019年11月16日 0 点赞 1 评论 1050 浏览 评分:9.9
C语言训练-大、小写问题-题解(Java代码)——一行代码解决 摘要:```java import java.util.Scanner; public class Main3 { public static void main(String[] args) { …… 题解列表 2019年12月02日 0 点赞 0 评论 997 浏览 评分:9.9