![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
杨小c
这里没有人来人往
展开
-
【C 程序设计】(第四版)谭浩强 著第九章习题
编译器:Dev-c /*第1题*/ #include <stdio.h> struct date{ int year; int month; int day; }; int main(int argc, char const *argv[]) { struct date today; scanf("%d %d %d", &today.year, &today.month, &today.day); int total = 0, i; int b[12] =原创 2020-07-26 10:34:10 · 222 阅读 · 0 评论 -
【C 程序设计】(第四版)谭浩强 著第三章习题解析
编译器:Dev-C++ /*第一题*/ #include <stdio.h> #include <math.h> int main(void) { double p,r=0.09,n=10.0; p = pow ((1 + r), n); printf ("倍数为%f\n", p); return 0; //我也不知道倍数为什么会这么高.. } /*第二题*/ #include <stdio.h> #include <math.h> int m原创 2020-06-25 00:05:23 · 468 阅读 · 0 评论