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

c#程序设计

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

  • tuoluoyi_bizhang
    arduino使用陀螺仪,与各类传感器进行避障行走(use gyroscope for obstacle avoidance by Arduino)
    2018-05-14 18:35:27下载
    积分:1
  • C语言程序 FDC2214采集
    说明:  这是一个FDC2214电容传感器模块读取采集电容信号的程序模块,使用的C语言程序,板子是STM32F14系列(This is a program module of FDC2214 capacitance sensor module to read and collect capacitance signals. It uses C language program. The board is STM32F14 series.)
    2020-06-18 01:00:01下载
    积分:1
  • bpNN
    bp神经网络变形预测源程序(有待改进),很短的一段代码,所有直接写在TXT文件中。(bp neural network prediction deformation source (room for improvement), a very short piece of code, all directly in the TXT file.)
    2008-07-30 14:43:56下载
    积分:1
  • fog
    利用OpenGL技术绘制了五个红色球体,每个球体和观察点的距离各不相同(Using the OpenGL technology made five red ball, every sphere and the distance of observation points each are not identical)
    2013-10-17 17:50:05下载
    积分:1
  • 2M-U-disk-on-STM32
    基于STM32的2M U盘源码,对STM32的开发很有用(2M U disk on STM32 )
    2013-11-01 00:01:45下载
    积分:1
  • eg8_IndependentProject_CAN
    DSP28335芯片CAN总线模块案例程序(case codes about CAN bus of DSP28335)
    2020-06-22 20:20:01下载
    积分:1
  • beyond compare3.3.5
    说明:  文件对比用软件,用于单个文件之间对比,代码对比,多个文件对比等(beyond compare is a useful software, which can be helpful for you to compare two file and find the difference between them)
    2019-04-16 23:17:42下载
    积分:1
  • c# 数字转换成 bool类型值 0,1,2,-1 普及下
    总结:convert.tobool(0)==false, 非0 则均为true
    2014-06-27下载
    积分:1
  • mmskeleton-master
    说明:  基于kinect和神经网络的骨骼识别动作(Bone recognition action)
    2021-02-19 16:36:52下载
    积分:1
  • c
    说明:  经典c语言源代码,对学习c语言的人很重要,值得一看(Classic C language source code is very important, see, learn c language)
    2012-06-26 15:22:56下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载