最长字符串 (C语言代码) 摘要:#include<stdio.h>int len(char *arr){ int i=0; for(;arr[i]!='\0';i++); return i;}int main(){ …… 题解列表 2017年12月07日 0 点赞 0 评论 1542 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>#include <math.h>int test1(double a,double b,double c){ doubl…… 题解列表 2017年12月07日 0 点赞 0 评论 1678 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>int test(int a);int main(){ int a=7; scanf("please intput a n…… 题解列表 2017年12月07日 0 点赞 0 评论 1082 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>void test();int i,j, arr[3][3];int main(){ for( i=0; i<3; i++…… 题解列表 2017年12月07日 0 点赞 0 评论 1467 浏览 评分:0.0
新生舞会 (C语言代码) 摘要:#include<stdio.h>#include<string.h>struct student { char name[21]; char num[11]; char sex[2]; }; …… 题解列表 2017年12月07日 0 点赞 0 评论 1622 浏览 评分:0.0
素数求和 (C语言代码) 摘要:解题思路:求素数第三种方法 注意事项:和的大小参考代码:#include<stdio.h>#include<math.h>int main(){ int i,j,n,a; long sum=0; sc…… 题解列表 2017年12月07日 1 点赞 0 评论 1422 浏览 评分:0.0
wu-C语言程序设计教程(第三版)课后习题9.4 (C语言代码) 摘要:参考代码:#include<stdio.h> #define LEAP_YEAR(y) y=(y%4==0&&y%100!=0||y%400==0) int main() { int y; …… 题解列表 2017年12月07日 1 点赞 0 评论 1276 浏览 评分:0.0
wu-C语言程序设计教程(第三版)课后习题9.6 (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { float a; scanf("%f",&a); printf("%6.2f\n",a); printf("…… 题解列表 2017年12月07日 2 点赞 0 评论 1243 浏览 评分:0.0
wu-C语言程序设计教程(第三版)课后习题9.8 (C语言代码) 摘要:参考代码:#include<stdio.h> #define MAX(a,b,c) a=a>b?(a>c?a:c):(b<c?c:b) void max(double a,double b,dou…… 题解列表 2017年12月07日 2 点赞 0 评论 2096 浏览 评分:0.0
C语言训练-排序问题<2> (C语言代码) 摘要:解题思路:注意事项:上面两个是错的,被坑了以后我就自己写了一个新的参考代码:#include<stdio.h>#define xx 10int main(){ int a[xx]; int…… 题解列表 2017年12月07日 0 点赞 0 评论 1305 浏览 评分:0.0