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 评论 639 浏览 评分: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 评论 1041 浏览 评分: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 评论 1022 浏览 评分: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 评论 1229 浏览 评分:2.0
WU-报时助手 (C++代码) 摘要:用个字符串数组来装载所有的字符串就好了 注意输出的时候 先输出十位数 再输出个位数 写起来有点恶心。。。#include<iostream> using namespace std; int…… 题解列表 2017年12月06日 3 点赞 0 评论 2964 浏览 评分:6.8
WU-字符串对比 (C++代码) 摘要:这题用C++的sting流字符串来做比较起来比较方便 其中用到了小写字母转换成大写字母的函数 toupper()#include<iostream> #include<cstring> #inc…… 题解列表 2017年12月06日 4 点赞 1 评论 1206 浏览 评分: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 评论 620 浏览 评分: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 评论 1320 浏览 评分: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 评论 1002 浏览 评分: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 评论 810 浏览 评分:0.0