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 评论 1167 浏览 评分: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 评论 1087 浏览 评分: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 评论 1331 浏览 评分:2.0
WU-报时助手 (C++代码) 摘要:用个字符串数组来装载所有的字符串就好了 注意输出的时候 先输出十位数 再输出个位数 写起来有点恶心。。。#include<iostream> using namespace std; int…… 题解列表 2017年12月06日 3 点赞 0 评论 3233 浏览 评分:6.8
WU-字符串对比 (C++代码) 摘要:这题用C++的sting流字符串来做比较起来比较方便 其中用到了小写字母转换成大写字母的函数 toupper()#include<iostream> #include<cstring> #inc…… 题解列表 2017年12月06日 4 点赞 1 评论 1322 浏览 评分:6.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 评论 714 浏览 评分: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 评论 1553 浏览 评分: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 评论 1057 浏览 评分: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 评论 967 浏览 评分:0.0
优质题解 Manchester- IP判断(逐级排除法) 摘要:解题思路:把输入的IP地址分成四个部分,如:IP:a[ ] . b[ ] . c[ ] . d[ ];每一部分对应的长度定义为alen,blen,clen,dlen;每一部分对应的数值定义为anum,…… 题解列表 2017年12月06日 34 点赞 12 评论 4364 浏览 评分:7.8