登录
首页 » c# » c#程序设计

c#程序设计

于 2022-11-09 发布 文件大小:96.50 kB
0 174
下载积分: 2 下载次数: 1

代码说明:

1. 编写if分支语句程序实验例题1:编写程序,输入一个正整数,判断该数的奇偶性(直接用布尔表达式实现)。实验例题2:编写程序,根据学生成绩分别给出不同的评价(最好选择if嵌套的方式)。60以下为不及格,60-69为及格,70-79为中,80-89为良,90-100为优。实验例题3:,百货公司优惠打折,购物100元以元优惠,100-499优惠5%,500-999优惠10%,1000-4999优惠15%,5000以上优惠20%,编写程序实现客户购买任何金额的货物,实际应支付的金额是多少。2. 编写switch语句程序实验例题4:使用switch语句编写程序,输入0至10之间的整数,判断该数的奇偶性。实验例题5:使用switch语句编写程序,编写程序,根据学生成绩分别给出不同的评价, 60以下为不及格,60-69为及格,70-79为中,80-89为良,90-100为优 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

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

发表评论

0 个回复

  • triGauss
    用matlab解三对角方程,可应用在化工、电子、机械等工程领域。(Gaussian elimination method to solve tridiagonal equation)
    2012-01-13 15:02:59下载
    积分:1
  • YUV 模糊算法
    YUV 的模糊处理方法,对640X480的YUV尺寸做二次幂倒数模糊处理,支持一个参数半径,选择模糊的程度。原理简单。欢迎下载使用,并指点赐教。
    2022-03-10 09:17:36下载
    积分:1
  • OPNET_-Zigbee
    Compete Project files in OPNET for Zigbee.
    2020-12-29 14:39:01下载
    积分:1
  • estimation_resample
    一种用于谐波分析的重采样方法,同过matlab仿真实现(For the resampling method of harmonic analysis, Matlab simulation to achieve the same over)
    2012-05-31 20:19:06下载
    积分:1
  • URLProtocol
    safari调用第三方APP demo 可以直接调试成功 供新手参考 (safari called third-party APP demo success can be directly debug reference for the novice)
    2013-12-10 15:36:35下载
    积分:1
  • psotest
    说明:  一个粒子群测试程序,对学习粒子群算法的人有点用(a test procedure for studying particle swarm algorithm with a bit of)
    2005-10-19 15:53:04下载
    积分:1
  • Revit 2015 API -2二次开发环境和创建命令步骤
    建筑行业BIM软件的二次开发环境及步骤。(The development environment and steps of BIM software in construction industry.)
    2017-07-18 09:33:25下载
    积分:1
  • trafficlight
    说明:  采用模糊控制的思想,实现交通路口红绿灯时间的优化控制。 功能要求:(1) 采用模糊控制实现红绿灯控制,根据车流量的不同来控制红绿灯的显示时间。 (2) 模拟实际交通路况,简化编程难度,只考虑横竖方向的车流量,并不考虑车的拐弯,重点突出模糊控制算法 (Using fuzzy control theory to achieve the traffic intersection of time optimal control of traffic lights. Functional requirements: (1) using fuzzy control to achieve traffic light control, according to the different traffic flow to control the traffic lights display the time. (2) simulate the actual traffic and road conditions, simplify programming difficulty, only if they had to consider the direction of traffic flow, without considering turning vehicles, focused fuzzy control algorithm)
    2021-04-07 22:49:01下载
    积分:1
  • dianyun
    说明:  一本非常难得的经典PCL参考书籍,里面有很详细的PCL使用说明。(A handbook of PCL lib,you can refer it to develop point cloud program.)
    2019-06-20 10:49:25下载
    积分:1
  • vad814_wanshang
    在BCB平台上的语音端点检测程序,直接调用函数即可实现检测 而且标注清晰 返回的数据 为重新组合的语音!(In the BCB platform of voice activity detection program, call the function can be realized directly detect and mark a clear return to the data re-combination of voice!)
    2010-08-15 17:21:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载