登录
首页 » Windows开发 » 编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n(利用指针函数)...

编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n(利用指针函数)...

于 2022-01-25 发布 文件大小:2.16 kB
0 219
下载积分: 2 下载次数: 1

代码说明:

编写一个函数,输入n为偶数时,调用函数求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n(利用指针函数)-The preparation of a function, type n is an even number, the call function for 1/2+1/4+...+ 1/n, when n is odd input, call function 1/1+1/3+...+ 1/n (use pointer function)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • mfc实现残缺棋盘游戏
    以VS2010为工作平台,编写mfc应用程序,实现棋盘游戏,内包含中功能,如暂停、继续、从新开始、设置棋盘大小,填充速度等。
    2022-02-02 14:19:13下载
    积分:1
  • set on the phone Invoicing software, containing the following functions : 1 : ph...
    一套有关于手机进销存方面的软件,含有如下功能: 1:手机及附件入库,销售,库存 2:手机及附件代理商铺货,退领,销售,库存 3:自动查询保价手机的范围,并能进行二次选定。 4:串号全程跟踪功能 5:强大的客户服务功... -set on the phone Invoicing software, containing the following functions : 1 : phones and accessories warehousing, marketing, inventory, 2 : phones and accessories agents dramatically, retired from sales, inventory 3 : automatic inquiries, the price of the phone, and secondary selected. 4 : Series of tracking function 5 : strong customer service work ...
    2022-03-18 15:46:19下载
    积分:1
  • WebCam BCB XE2 抓取影像用測試程式
    这是一个笔试的USB摄像头测试程序,提供初学者捕捉摄像头视频输入的目的,使用面板的输出接口采用VFW捕获只有一个简单的Windows界面程序,Embarcadero公司的RAD Studio XE2〜XE4兼容视频采集的例子。
    2023-08-14 11:40:05下载
    积分:1
  • kruskal.rar for data calculation and issued a treatment algorithm
    kruskal.rar 用于数据计算与出具处理 一种算法-kruskal.rar for data calculation and issued a treatment algorithm
    2023-08-05 19:30:03下载
    积分:1
  • 在线考试系统
    资源描述在线考试系统的使用今天,在线考试系统,已成为一个快速增长检查方法,因为它的速度和准确性。它也需要更少人力执行考试。几乎所有的组织都是现在,通过在线考试系统进行考试的客观考试,它节省了学生考试时间。组织也可以轻松地检查学生在考试中的表现。作为一个结果这,组织释放的结果,在更短的时间。它也有助于通过节约纸张的环境。根据今天的要求, ; 在PHP在线考试项目;非常有用的学习它。
    2022-06-14 06:34:51下载
    积分:1
  • 苏州市银行网点导航系统――该软件是一个GIS系统,利用VB和二次组件SuperMap Objects的,系统实现了底图的基本操作、属性信息的编辑与管理、...
    苏州市银行网点导航系统――该软件是一个GIS系统,利用VB和二次开发组件SuperMap Objects开发的,系统实现了底图的基本操作、属性信息的编辑与管理、GIS分析等功能。-Xuzhou City bank branches navigation system- the software is a GIS system, using VB and secondary development SuperMap Objects developed components, the system achieved a base map of the basic operations, attribute information of the editing and management, GIS analysis functions.
    2022-11-08 18:15:03下载
    积分:1
  • DURBIN算法的C语言实现
    DURBIN算法的C语言实现-WRITER algorithm C Language
    2022-03-19 06:48:26下载
    积分:1
  • 一套PB的ERP系统。因为不懂C/S,不确定系统的完整性,请调试。本人还有大量的C/S结构的系统源码,可提供,希望成为VIP...
    一套PB开发的ERP系统。因为不懂C/S开发,不确定系统的完整性,请调试。本人还有大量的C/S结构的系统源码,可提供,希望成为VIP-a PB development of the ERP system. Because he does not know C/S development, the integrity of uncertain systems, debugging. I also have a large amount of C/S structure of the system source code, to offer hope to become VIP
    2022-03-12 01:29:48下载
    积分:1
  • 著名游戏《贪吃蛇》的源码,使用VC6打并且编译。欢迎指正。...
    著名游戏《贪吃蛇》的源码,使用VC6打开并且编译。欢迎指正。-famous game "huge memory," the source, the use of open and VC6 compiler. Welcome correction.
    2022-05-12 12:33:04下载
    积分:1
  • 一个微
    一个微型的C lib 把 OpenSSL 移植到WCE 平台下必须使用-A micro-C lib of OpenSSL ported to the platform must be used WCE
    2023-06-06 21:25:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载