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

  • juzhen
    c语言编程,矩阵自动运算,vc6.0运行(c language programming, matrix automatic operation, vc6.0 run)
    2013-11-04 03:40:39下载
    积分:1
  • RC522 I2C STM32F103
    RC522 IIC驱动程序,可实现读卡和写卡功能,复旦卡或M1卡都可以,本人也试过读公交卡,可以读出序列号和卡类型。(RC522 IIC driver, can read card and write card function, Fudan card or M1 card can, I also tried to read the bus card, you can read the serial number and card type.)
    2020-12-24 15:59:06下载
    积分:1
  • 基于wp手机平台的二等水准测量手簿
    基于wp手机平台的二等水准测量手簿。可自定义限差,自定义上点,自动步进点号,超限提醒,测站信息实时显示(BBFF所有读数,BF视距差,高差),所有测站信息成果输出。
    2022-08-23 17:24:54下载
    积分:1
  • qq
    说明:  qq聊天工具源代码qq聊天工具源代码qq聊天工具源代码qq聊天工具源代码(qq chat system,use vc plus plus)
    2010-12-17 11:01:56下载
    积分:1
  • StringReverse
    不使用任何库函数,用递归实现字符串的逆序输出,C++实现(Do not use any library functions, using recursive reverse output string, C++ achieve)
    2015-10-09 22:56:29下载
    积分:1
  • NET中模板生成WORD文档 c#开发
    NET中模板生成WORD文档 c#开发-NET in WORD document template generated c# Development
    2022-02-14 11:19:10下载
    积分:1
  • 代码
    说明:  蒸发冷凝FLUENT计算,UDF程序编写。(Evaporative condensation FLUENT calculation.)
    2020-06-23 11:20:01下载
    积分:1
  • combine---two-binary-trees-
    This is a small program to create indexs for two binary trees and combine them to a new 003 * index tree and output the new tree,the second tree only has the left child tree then 004 * if the first tree has no left child tree,insert the second tree into the first tree as 005 * its left child and if the first tree has the left child tree,then insert the first tree 006 * into the second tree as its left child. (This is a small program to create indexs for two binary trees and combine them to a new 003* index tree and output the new tree, the second tree only has the left child tree then 004* if the first tree has no left child tree, insert the second tree into the first tree as 005* its left child and if the first tree has the left child tree, then insert the first tree 006* into the second tree as its left child.)
    2012-06-11 16:16:55下载
    积分:1
  • solution
    数据与计算机通信(Data and Computer Communications)答案(Data and Computer Communications Reference Answers)
    2020-06-25 09:20:01下载
    积分:1
  • mAffineCipher
    古典密码中的仿射密码的加密和解密用C语言来实现。(Classical affine password encryption and decryption using C language to achieve.)
    2011-10-30 10:37:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载