发布时间:2019-07-12 10:06:39编辑:auto阅读(1831)
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { double a = 1.0; double b = 1.0; double Sn = 0; int i = 0; for (i = 0; i < 20; i++) { a = a + b; b = a - b; Sn += (a / b); } printf("Sn=%f\n", Sn); system("pause"); return 0; }
上一篇: 3 C++ Boost 字符,文本
下一篇: Nginx从入门到掌握【(第3节(共3节
47479
45781
36780
34302
28950
25586
24431
19602
19089
17623
5454°
6037°
5553°
5628°
6554°
5365°
5366°
5872°
5845°
7159°