字符串的输入输出处理 (C语言代码) 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>int main(){ int n,i,j; ch…… 题解列表 2018年01月03日 0 点赞 0 评论 1160 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:输出字符就好注意事项:参考代码:#include<stdint.h>void main(){ puts("*******************"); puts("Hello World!"…… 题解列表 2018年01月03日 0 点赞 0 评论 485 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int p[3],a,c,e; printf("请输入3个整数:"); for(a=0;a<3…… 题解列表 2018年01月03日 0 点赞 0 评论 645 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 (C++代码) 摘要:#include<iostream> using namespace std; int main(){ int n,s=0; cin>>n; int a[n]; …… 题解列表 2018年01月03日 0 点赞 0 评论 1372 浏览 评分:0.0
蓝桥杯算法训练VIP-整除问题 (C++代码) 摘要:#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; for(in…… 题解列表 2018年01月03日 0 点赞 0 评论 1060 浏览 评分:0.0
C语言考试练习题_保留字母 (C语言代码) 摘要:#include <stdio.h> int main(void) { int i; char str[512]; gets(str); for (i=0; str[i…… 题解列表 2018年01月03日 0 点赞 0 评论 965 浏览 评分:0.0
最大公约数以及最小公倍数的函数(简单易懂的C语言) 摘要:#include<stdio.h>#include<string.h>#include<math.h>int gy(int a,int b){ int m,n,t; m=a; n=b…… 题解列表 2018年01月03日 0 点赞 0 评论 1413 浏览 评分:0.0
拆分位数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,s; printf("请输入一个三位数:"); scanf("%d",&s); a=s/10…… 题解列表 2018年01月04日 0 点赞 0 评论 787 浏览 评分:0.0
SHIYI:Hello, world! (C语言代码) 摘要:解题思路:此题主要要求使用EOF作为结束,因此要用到while(scanf("%d",&a[i])!=EOF),EOF即end of file,EOF的值常常为-1,单根据系统不同,可能不同,要想结束…… 题解列表 2018年01月04日 3 点赞 2 评论 708 浏览 评分:0.0
SHIYI:简单的a+b (C语言代码) 摘要:解题思路:参考答案主要就是这一句while(~scanf("%d%d", &a, &b)),在while循环中使用scanf()意思是取返回值(即正确录入的数据个数),至于“~”意思意思是按位取反,当…… 题解列表 2018年01月04日 1 点赞 0 评论 1245 浏览 评分:0.0