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

c#程序设计

于 2022-11-09 发布 文件大小:96.50 kB
0 120
下载积分: 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 个回复

  • DS18B20_51_code
    采用DS18B20温度传感器,利用51单片机,结合Labwindows/CVI上位机编程软件开发温度检测系统。(Using DS18B20 temperature sensor, the use of 51 single-chip microcomputer, combined with the Labwindows/CVI PC programming software development temperature detection system.)
    2015-07-05 16:19:54下载
    积分:1
  • 01205skin-source
    用VC写的关于皮肤的程序框架,很好用,可以直接修改.(Written with the VC on the skin of the procedural framework, useful, can be directly modified.)
    2010-07-22 23:34:06下载
    积分:1
  • txt
    适合卫星通信本科学生借鉴。主要为卫星转发器仿真设计。可以实现上下变频,非线性放大器实现和卫星转发器实现。(Satellite transponder Simulation Design。Achieve Frequency conversion)
    2014-01-24 19:37:06下载
    积分:1
  • ezxml
    用C语言实现的XML解析库,适合在嵌入式或非WINDOWS环境下使用(Using C language to resolve the XML database, suitable for use in embedded or non-WINDOWS environment)
    2021-03-07 21:59:29下载
    积分:1
  • 数据库plim
    简单易懂的普利姆法求最小生成树的代码,新手可参考(Plymmerm easy to understand minimum spanning tree code, novice can refer to this code)
    2017-12-20 17:51:11下载
    积分:1
  • QWT画图
    QWT是用QT写的开源第三方库,可以绘制各种各样的2D图形,大家可以相互交流,向后学习!
    2022-04-16 07:03:12下载
    积分:1
  • migong
    以一个m*n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有 通路的结论 (To an m* n the long square maze, 0 and 1, respectively maze of paths and obstacles. Design a program, for any set of the maze, find a path from the inlet to the outlet, or the conclusions drawn without passage)
    2013-06-14 10:24:48下载
    积分:1
  • 1
    说明:  DSP如果是CE以上版本的需要用新的烧写库跟CMD文件(DSP )
    2011-07-05 21:28:29下载
    积分:1
  • weiyikeyima
    自己写的唯一可译码判定准则,可以准确判定码组是否为唯一可译码组(Write their own unique criteria DECODABLE can accurately determine whether the code group is the only decoding group)
    2013-01-20 16:45:58下载
    积分:1
  • Demo
    vc如何动态添加和删除菜单项的源码,可以参考下(vc how to dynamically add and remove menu items of the source code, can refer to)
    2011-06-10 15:13:16下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载