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

  • xungeng
    说明:  用于安防上的巡更管理系统,主要是记录巡更人电的巡查时间。便于进行考核等作用。(for Security Patrol on the management system is mainly records-- were patrolling the inspection time. Facilitate evaluation of function.)
    2006-03-18 09:26:09下载
    积分:1
  • fun
    matlab/simulinkSfunctionC文件例子源码matlab/simulinkSfunctionC文件例子源码dfdfwere(dsfsds)
    2009-07-09 22:37:35下载
    积分:1
  • Selective
    数据链路层滑动窗口协议的设计与实现源码 信道模型为8000bps 全双工卫星信道,信道传播时延270 毫秒,信道误码率为10-5,信道提供字节流传输服务,网络层分组长度在240~256字节范围。(Sliding window data link layer protocol design and implementation of source-channel model 8000bps full-duplex satellite channel, the channel propagation delay 270 ms, the channel bit error rate of 10-5, the channel provides a byte stream transfer service, network layer packet length in the range of 240 to 256 bytes.)
    2013-12-08 11:45:53下载
    积分:1
  • c++
    双闭环可逆直流调速(H桥)simulink仿真模型,波形很好((Double closed loop reversible DC speed control (H bridge) Simulink simulation model, the waveform is very good))
    2017-12-12 18:06:04下载
    积分:1
  • 脉搏
    人体仿真,脉搏控制,基于C语言,在其中有定时器TIM3控制(Human body simulation, pulse control.)
    2018-03-27 11:08:06下载
    积分:1
  • collisiondetection
    在vc++环境下使用opengl语言进行碰撞检测(In vc++ environment to use opengl collision detection language)
    2009-09-14 10:03:18下载
    积分:1
  • gongsiguyuanguanli
    对公司员工的信息进行修改,添加,计算工资等功能,内附源代码(Information on the company s employees to modify, add, calculate payroll and other functions, containing the source code)
    2013-12-09 17:51:31下载
    积分:1
  • dijkstra
    dijkstra算法,用于寻找已建立图的最短路径,是非常有用的一个算法(Dijkstra algorithm, has been established for finding the shortest path map is a very useful algorithm)
    2007-07-15 14:14:48下载
    积分:1
  • student-performancsystem
    vc环境下的简单的实现学生成绩管理系统 希望大家支持(the vc environment simple student performance management system)
    2013-01-31 20:36:51下载
    积分:1
  • tcp client
    tcp socket连接客户端代码,可实现log打印。发送一些信息给服务器的小程序,希望大家喜欢
    2022-01-22 06:00:28下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载