登录
首页 » 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 93
下载积分: 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 个回复

  • wavelet_packet11
    小波包分解与重构使用,最佳树使用方法。小波分析理论与MATLAB实现实例。很好的程序,希望对大家有用。(Wavelet packet decomposition and reconstruction using the best tree to use. MATLAB implementation of wavelet analysis theory and examples. Very good program, I hope all of us. )
    2021-04-18 20:28:51下载
    积分:1
  • FloatMenu
    VC++制作窗口内的浮动菜单和工具栏实例,像标准的窗口菜单和工具栏类似,只不过通过处理后,菜单和工具栏可以从主窗体中分享,浮动在屏幕的任意位置,可关闭浮动菜单和工具栏,像Office软件中,类似的菜单工具条随处可见,按住菜单头部的竖条即可把菜单从主窗口中分离。(Variation within the vc++ to make the window menu and toolbar example, as a standard window menus and toolbars are similar, only after processing, menus, and toolbars can share, from the main form of floating on any position of the screen, can be closed floating menus and toolbars, like Office software, similar to the menu bar can be seen everywhere, hold down the menu bar of the head to the menu from the main window. )
    2013-11-28 22:40:45下载
    积分:1
  • WinMadeCard
    通过串口通讯制取RFID卡的制卡程序,所用的环境是.NET2.0(Through the serial communication system for RFID card access system card procedures, the environment is used. NET2.0)
    2007-11-12 14:20:49下载
    积分:1
  • The-maximum-number-of-five
    求五位数各位数字的平方和为100的最大的五位数(Seeking five digits of the square and 100, the largest number of five)
    2012-10-14 16:23:01下载
    积分:1
  • 让你的C#开发更高效
    收集了C# winform和web开发过程中经常使用的通用类库,希望可以让你的开发更高效。
    2023-05-30 07:15:03下载
    积分:1
  • Multiplication-table
    C语言做的九九乘法表,里面包含源程序,能运行。(C language to do the multiplication table, which contains the source code can run.)
    2012-10-02 00:33:43下载
    积分:1
  • F410smaRTClock-RAMDATA
    F410smaRTClock读和写RAMDATA(F410smaRTClock read and write RAMDATA)
    2013-04-25 09:59:54下载
    积分:1
  • Qt5.10 GUI完全参考手册(qt教程qt入门)
    说明:  qt手册,查找api 新手可用很好用!!!!!!!!!!(Qt manual, find API novice available very good use!!!!!!!!!!!)
    2019-11-26 23:10:32下载
    积分:1
  • SwfUpload在MVC4下多文件上传缩略图水印例子 示例源码下载
    SwfUpload在MVC4下多文件上传缩略图水印例子 示例源码下载
    2014-03-23下载
    积分:1
  • Houghtranslate
    这个是图像处理中的hough变换的C++源代码,工需要的同学参考学习。(This is the image processing hough transform C++ source code, engineering students need to learn.)
    2013-09-07 00:28:11下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载