文件名称:ex2
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-02-04
- 文件大小:
- 105kb
- 下载次数:
- 0次
- 提 供 者:
- A***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
This program is in C + + and it calculates the sum of the geometric progression of n members: 1/3 + 1/9 + 1/27 + ...
The number of members of the geometric progression n is entered via the keyboard, while the program should be sufficient number of members n is 0 or a negative number, so if you enter a number such program should print an error message and stop. The result can be accurate to six decimal places.
The number of members of the geometric progression n is entered via the keyboard, while the program should be sufficient number of members n is 0 or a negative number, so if you enter a number such program should print an error message and stop. The result can be accurate to six decimal places.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ex2\Zadaca2.cpp
...\Zadaca2.exe
ex2