登录
首页 » C# » 一个函数,输入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-06-13 发布 文件大小:2.80 kB
0 63
下载积分: 2 下载次数: 1

代码说明:

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

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

发表评论

0 个回复

  • MeshSimplify
    网格简化源代码,实现三维模型的网格简化,供大家参考(Mesh simplification code)
    2021-01-23 11:48:39下载
    积分:1
  • RLE
    RLE压缩算法,对.bmp格式文件进行操作。使用MFC编制界面,可读入位图,压缩后保存位图并显示。(RLE compression algorithm, bmp format file operation. Use the MFC preparation interface, readable into the bitmap compressed to save a bitmap display.)
    2021-03-25 22:49:13下载
    积分:1
  • miniCommon-master
    widnows VT 技术的开源工程技术文件,源代码(widnows VT tec, mini conmmon)
    2015-11-16 12:45:24下载
    积分:1
  • CAA_V5_For_CATIA_Foundations
    CAA开发者可以参考本资料进行CAA二次开发。(CAA developers can refer to this data for the two development of CAA.)
    2018-02-24 15:40:54下载
    积分:1
  • visual_c_plus_plus_net
    visual C++ .NET 开发精典实例 , PDF书(visual C++. NET development classics examples, PDF Book)
    2010-01-04 21:35:23下载
    积分:1
  • CortexM3_权威指南(第二版)_en
    CortexM3_权威指南英文原版第二版(Cortex M3 Authoritative Guide English Version 2)
    2019-02-15 14:38:44下载
    积分:1
  • 一个有关与打字练习的问题
    一个有关与打字练习的问题-one with the practice of typing
    2022-11-03 11:55:03下载
    积分:1
  • usb_20_20190524
    this is official usb2.0 protocol
    2020-06-21 09:00:01下载
    积分:1
  • arpcheatdemo
    说明:  用我的linux mac地址污染windows的路由器(192.168.1.1)的arp缓存mac地址.于是所有windows发到路由器(192.168.1.1)的数据都被我接收了 (With my windows linux mac address of the router pollution (192.168.1.1) of the arp cache mac address. So all the windows sent to the router (192.168.1.1) of the data received by me)
    2011-04-18 09:05:43下载
    积分:1
  • m6eDemo
    M6e 超高频读写器相关调试源代码和相应文档(M6e UHF reader related debugging source code and corresponding documentation)
    2013-12-01 22:43:01下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载