C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int arr[10]; for(int i=0; i<10; i++) { scanf("%d",&arr…… 题解列表 2017年12月05日 0 点赞 0 评论 998 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ float a,result; printf("请输入一个任意圆半径:\n"); scanf("%f",&a); flo…… 题解列表 2017年12月05日 0 点赞 0 评论 1140 浏览 评分:0.0
【回文数(二)】 (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 评论 1333 浏览 评分:0.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 评论 1158 浏览 评分: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 评论 2063 浏览 评分:0.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 评论 885 浏览 评分: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 评论 1344 浏览 评分:0.0
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 评论 915 浏览 评分:0.0
Manchester- C语言程序设计教程(第三版)课后习题1.6 摘要:解题思路:两个程序,两种思路;注意事项:参考代码:1.#include<stdio.h> int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); …… 题解列表 2017年12月06日 25 点赞 1 评论 1380 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,num=0,leave=0,sum=0; while(scanf("%d",&n)!=EOF) { …… 题解列表 2017年12月06日 1 点赞 0 评论 774 浏览 评分:0.0