C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define qiuyu(a,b) a%bint main(){ int a,b; scanf("%d%d",&a,&b); prin…… 题解列表 2019年02月01日 0 点赞 0 评论 494 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路: 注意事项:参考代码:/*写一函数,使输入的一个字符串按反序存放,在主函数中输入输出反序后的字符串。*/#include<stdio.h>#include<st…… 题解列表 2019年02月01日 1 点赞 0 评论 581 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void panduan(char n[],int *s,int *k,int *z,int *q)…… 题解列表 2019年02月01日 0 点赞 0 评论 414 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:#include<stdio.h>int main(){ int n[9],d; int i,j=0; for(i=0;i<9;i++) { scanf("%d",&n[i]); } scanf("…… 题解列表 2019年02月01日 0 点赞 0 评论 424 浏览 评分:0.0
蓝桥杯2017年第八届真题-分考场 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define N 301#define min(a,b) a>b?b:a;int gxb[N]…… 题解列表 2019年02月01日 1 点赞 0 评论 891 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s=0,a=2,n; scanf("%d",&n); while(n--) { …… 题解列表 2019年02月01日 0 点赞 0 评论 655 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:s一定要赋初值 否则运行错误 因为s值可能不为零。参考代码:#include<stdio.h>int main(){ int s=0,a,n; scanf("%d",&…… 题解列表 2019年02月01日 0 点赞 0 评论 455 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:关键两位小数参考代码:#include<stdio.h>int main(){ int x; float y; scanf("%d", &x); if(x…… 题解列表 2019年02月01日 0 点赞 0 评论 534 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d", &a,&b,&c); max=a…… 题解列表 2019年02月01日 0 点赞 0 评论 486 浏览 评分:0.0