登录
首页 » C# » c

c

于 2013-09-15 发布 文件大小:1KB
0 188
下载积分: 1 下载次数: 0

代码说明:

说明:  c#代码,在程序主方法中,由用户依次输入月份和需要订购机票的数量,分别保存到整数变量month和sum中。 (c# code, the program' s main method, followed by the user to enter the month and the number of tickets need to be ordered, are saved to an integer variable month and the sum of.)

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

发表评论

0 个回复

  • lab18-PWM
    说明:  用DSP28335发出PWM波形,入门例程(Use DSP28335 to send out PWM waveform, start routine)
    2021-03-17 14:47:28下载
    积分:1
  • poj3941
    poj 3941 Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same. In this problem, you are asked to write a program that finds the expected value of the number of given bills. (poj 3941 Hideyuki is allowed by his father Ujisato some 1000 yen bills every month for his pocket money. In the first day of every month, the number of bills is decided as follows. Ujisato prepares n pieces of m-sided dice and declares the cutback k. Hideyuki rolls these dice. The number of bills given is the sum of the spots of the rolled dice decreased by the cutback. Fortunately to Hideyuki, Ujisato promises him to give at least one bill, even if the sum of the spots does not exceed the cutback. Each of the dice has spots of 1 through m inclusive on each side, and the probability of each side is the same. In this problem, you are asked to write a program that finds the expected value of the number of given bills.)
    2013-07-16 20:45:28下载
    积分:1
  • TCPViewer
    tcp查看器,可以查看tcp协议的相关信息,还包括设置,等等,对学习tcp协议有很大帮助(tcp viewer, can view information about tcp protocol, but also include the provision, and so on, to learn tcp protocol has very helpful)
    2008-05-23 11:16:59下载
    积分:1
  • DAC7568驱动程序
    DAC7568驱动程序。我看了一天的PDF终于写出来了,希望对大家有帮组(DAC7568-driven program. I saw the day of PDF was finally written, we want to help group)
    2012-07-11 11:38:40下载
    积分:1
  • MRobot3Demo
    这是我们实验中用到的一个控制机械臂的实现程序,希望能有所帮助!(This is our experimental robotic arm used in the realization of a control program, hoping to help!)
    2020-11-20 18:59:36下载
    积分:1
  • IP
    说明:  视频会议模块用于传输图像信息及其他文件,采用vfw编程,便于理解,是很好的学习源码(Video conferencing module for the transmission of image information and other documents, using vfw program, easy to understand, is a good learning source)
    2010-04-01 15:35:30下载
    积分:1
  • 第二章_ArcGIS_Engine中的控件
    ArcGIS_Engine中的二次开发常用控件使用介绍(Introduction of controls in ArcGIS_Engine)
    2017-11-20 16:57:48下载
    积分:1
  • Elevators
    电梯仿真系统的实现,包含源码和文档。(Elevator simulation system, including source code and documents.)
    2021-04-19 20:18:51下载
    积分:1
  • stm32 USB虚拟串口代码
    说明:  stm32 USB虚拟串口代码 实现串口和usb的转换(stm32 usb com convert)
    2019-10-18 10:35:03下载
    积分:1
  • 4152.CCS使用指南
    说明:  CCSv User Guide Installation CCS Development Environment Settings
    2020-06-17 02:40:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载