C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float c,F; c = 5*(F-32)/9; printf("华氏摄氏温度:"); scanf("%f"…… 题解列表 2017年10月15日 0 点赞 0 评论 927 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1 = 'C'; char c2 = 'h'; char c3 = …… 题解列表 2017年10月15日 0 点赞 0 评论 759 浏览 评分:0.0
优质题解 Cylinder (C语言描述+详细分析) 摘要:解题思路:注意事项:一定要注意,用户输出的不一定是整数,有可能是小数,所以w和h要用double型,如果用int型提交了之后会是答案错误。参考代码:#include <stdio.h> #defin…… 题解列表 2017年10月15日 8 点赞 22 评论 3774 浏览 评分:8.4
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void b(int a[][3]);int main(){int q[3][3],i,j;for( i=0;i<3;i++)for( …… 题解列表 2017年10月14日 0 点赞 0 评论 715 浏览 评分:0.0
幸运数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int M=500000;int a[M],d;void f(int *s,int…… 题解列表 2017年10月14日 0 点赞 0 评论 1761 浏览 评分:0.0
a+b 摘要:解题思路:#include<stdio.h>void main() { float a,b; while(1){scanf("%f%f",&a&b);printf("a+b=…… 题解列表 2017年10月14日 1 点赞 1 评论 550 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int cowNum(int n); int main(){ int n; while(scanf("%d", &n) &…… 题解列表 2017年10月14日 0 点赞 0 评论 745 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(void){ int a; printf("输入一个整数,不超过10^9\n"); scanf("%d…… 题解列表 2017年10月14日 0 点赞 0 评论 879 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int x,y; scanf("%d",&x); if (x<60)y=&#…… 题解列表 2017年10月14日 5 点赞 1 评论 1103 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void main(){ char marry[1000]={0}; int m,n; gets(m…… 题解列表 2017年10月14日 0 点赞 0 评论 814 浏览 评分:0.0