C语言训练-大、小写问题 (C语言代码)调用函数库 简单粗暴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<ctype.h>#define N 100int main(){ char a[N]; gets(a); for(i…… 题解列表 2018年08月16日 0 点赞 0 评论 1286 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[1000]; int i,n; gets(s…… 题解列表 2018年07月27日 0 点赞 0 评论 1041 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:预计用fgets接受输入,假设用例来自标准输入端,读取一行长度不超过100的字符串,到'\n'为止:#include<stdio.h> #include<ctype.h> …… 题解列表 2018年07月24日 2 点赞 0 评论 2116 浏览 评分:7.3
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路: 大小写之间ASCII存在着32的数值之差注意事项:参考代码:#include<stdio.h>#include<string.h>int main(void){ …… 题解列表 2018年07月04日 0 点赞 0 评论 1236 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int i; char s[101]; gets…… 题解列表 2018年06月01日 0 点赞 0 评论 1998 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:遍历整个数组,找到大写字母,根据ascii码,转换即可。注意事项: 输入以回车结束用gets()参考代码:#include<stdio.h>#include<string.h>int…… 题解列表 2018年04月27日 0 点赞 0 评论 1094 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){char str[100];gets(st…… 题解列表 2018年04月15日 0 点赞 0 评论 1605 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:这道题有个隐藏的坑就是你输入的字符串会有空格,所以处理输入输出的时候要注意参考代码:#include<bits/stdc++.h> using namespace std; …… 题解列表 2018年04月14日 1 点赞 0 评论 1955 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码)我想知道的是。。为啥不能用scanf 摘要:参考代码如下:#include <stdio.h> #include <string.h> int main() { char str[100]; //scanf("%s…… 题解列表 2018年04月07日 0 点赞 1 评论 1682 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; gets(a); int s =…… 题解列表 2018年03月13日 1 点赞 0 评论 1856 浏览 评分:0.0