C语言程序设计教程(第三版)课后习题9.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define max2(x,y,z)(x>y?x:y)>z?(x>y?x:y):zfloat max1(float x,float y…… 题解列表 2017年12月06日 1 点赞 0 评论 1216 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:#include<stdio.h> #define S(a,b) (a)%(b) int main() { int a,b; scanf("%d%d",&a,&b); printf(…… 题解列表 2017年12月06日 1 点赞 0 评论 1613 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题9.1 (C语言代码) 摘要:#include<stdio.h> #define S(a,b)a=a+b;b=a-b;a=a-b int main() { int a,b; scanf("%d%d",&a,&b); …… 题解列表 2017年12月06日 1 点赞 2 评论 1292 浏览 评分:8.8
WU-C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:#include<stdio.h> void count(char *p,int *a,int *b,int *c,int *d) { int i; for(i=0;p[i]!='…… 题解列表 2017年12月06日 3 点赞 0 评论 1877 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int max_gongyue(int a,int b){ int imax; int c=a>b?b:a; for(int i=c;…… 题解列表 2017年12月06日 0 点赞 0 评论 1166 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题8.8 (C语言代码)(17行代码解决) 摘要:#include<stdio.h> void kongge(int N) { int a,b,c,d; a=N%10; b=N/10%10; c=N/100%10; d=N/1…… 题解列表 2017年12月06日 4 点赞 0 评论 2456 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题8.7 (C语言代码)(指针解法) 摘要:#include<stdio.h> void choose(char *a,char *b) { int i; for(i=0;a[i]!='\0';i++) { …… 题解列表 2017年12月06日 8 点赞 2 评论 1255 浏览 评分:9.0
川哥的吩咐 (C语言代码) 摘要:#include<stdio.h>#include<string.h>int main(){ char a[1001],b[1001],c[1000]; int la,lb,i,j; …… 题解列表 2017年12月06日 0 点赞 0 评论 1438 浏览 评分:0.0
优质题解 Manchester- IP判断(逐级排除法) 解题思路:把输入的IP地址分成四个部分,如:IP:a[].b[].c[].d[];每一部分对应的长度定义为alen,blen,clen,dlen;每一部分对应的数值定义为anum,bnum,cnum,dnum;把输入的IP地址,根据上面的分法, 题解列表 2017年12月06日 34 点赞 12 评论 4875 浏览 评分:7.8
【回文数(二)】 (C语言代码) 摘要:参考代码://要满足2~16之间的任意进制,假设用 A B C D E F,分别表示 10 11 12 13 14 15 #include <stdio.h> char* copystr(…… 题解列表 2017年12月05日 0 点赞 0 评论 1658 浏览 评分:0.0