A+B for Input-Output Practice (I) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c,d,e;scanf("%d%d",&a,&b);scanf("%d%d",&c,&d);e=a…… 题解列表 2017年10月30日 0 点赞 0 评论 894 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:用函数递归思想解题。注意事项:需说明最后一步递归时,还剩一个桃子。参考代码:#include <stdio.h>int main(){ int wap(int d); int x,y; sc…… 题解列表 2017年10月30日 1 点赞 0 评论 714 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.3 (C语言代码) 摘要:解题思路:这题日了狗了,不知道为啥过不了注意事项:参考代码:/* search and handle */ #include<stdio.h> #define N 10 void searc…… 题解列表 2017年10月30日 3 点赞 0 评论 1461 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:二维数组实现注意事项:参考代码:/* string sort */ #include<stdio.h> #include<string.h> #define N 3 void s…… 题解列表 2017年10月30日 2 点赞 0 评论 760 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* sort */ #include<stdio.h> #define N 3 void sort(int arr[]) { int i,j,mi…… 题解列表 2017年10月30日 2 点赞 0 评论 1126 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* ez */ #include<stdio.h> int main() { char ch[1000]; gets(ch); …… 题解列表 2017年10月29日 1 点赞 0 评论 981 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,s; scanf("%d%d",&a,&b); s=a+b;printf("%d\n",s)…… 题解列表 2017年10月29日 0 点赞 0 评论 677 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 2 */ #include<stdio.h> #define MAX(a,b,c) c>(a>b?a:b)?c:(a>b?a:b) float get_m…… 题解列表 2017年10月29日 0 点赞 0 评论 1172 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { float d; scanf("%f",&d); int i,j; …… 题解列表 2017年10月29日 1 点赞 0 评论 821 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 宏练习 */ #include<stdio.h> #include<math.h> #define S(a,b,c) (a+b+c)/2 #define…… 题解列表 2017年10月29日 0 点赞 0 评论 883 浏览 评分:0.0