文件名称:test1

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2013-05-23
  • 文件大小:
  • 24kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • lixu*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

⒈ 从键盘输入一个字符序列,编程统计其中的数字个数和英文字母个数,输入的字符序列以“#”作为结束符。

⒉ 编写一段程序,当用户输入一个6位数据时,程序可以将其分离为单独的数字,分离结果之间用3个空格分开。(应用求模运算符和整型除法)

答案:实验一(2)

⒊ 采用指针方法将一个数组中的所有元素颠倒顺序,结果仍然放在原来的数组中,要求使用最少的辅助存储单元。

⒋ 使用结构变量表示每个学生的信息:姓名、学号、三门课的成绩和平均成绩。编写一个冒泡排序函数,根据学生的平均成绩排序。从键盘上输入10个学生的数据,在主函数中调用排序函数输出每个学生的姓名和三门课的成绩以及平均成绩。

⒌ 编写一段程序,确定员工的工资总额。每位员工在一周内工作40小时以内,是按正规工作时间付酬,超出40小时,是正规工作时间报酬的1.5倍。假定已经有了公司员工的花名册、每位员工在上个星期的工作时间以及每位员工的小时报酬。在程序中应将每位员工的信息输入,计算显示员工的应得工资。(练习使用嵌套的if/else语句和switch语句)-⒈ a sequence of characters entered from the keyboard, programming, statistics on the number of digits and letters number, enter the sequence of characters with "#" as the terminator.

⒉ write a program, when a user enters a 6 data, the program can be separated into single digits, separated by three spaces between the results separately. (Application modulo operator and integer division)

Answer: experiment (2)

⒊ method using the pointer array, all elements in a reverse order, the result is still in the original array, requires the use of a minimum of the auxiliary storage unit.

⒋ use structured variables to represent each student s information: name, student number, three course grades and grade point average. Write a bubble sort function, according to the student s grade point average sort. Input from the keyboard 10 student data, the main function calls the sort function output each student s name and three course results and grade point average.

⒌ write a program to determine the
(系统自动生成,下载前可以参看下载内容)

下载文件列表





实验一\1\test1_1.cpp

......\.\test1_1.dsp

......\.\test1_1.dsw

......\.\test1_1.ncb

......\.\test1_1.opt

......\.\test1_1.plg

......\2\test1_2.cpp

......\.\test1_2.dsp

......\.\test1_2.dsw

......\.\test1_2.ncb

......\.\test1_2.opt

......\.\test1_2.plg

......\3\test1_3.cpp

......\.\test1_3.dsp

......\.\test1_3.dsw

......\.\test1_3.ncb

......\.\test1_3.opt

......\.\test1_3.plg

......\4\test1_4.cpp

......\.\test1_4.dsp

......\.\test1_4.dsw

......\.\test1_4.ncb

......\.\test1_4.opt

......\.\test1_4.plg

......\5\test1_5.cpp

......\.\test1_5.dsp

......\.\test1_5.dsw

......\.\test1_5.ncb

......\.\test1_5.opt

......\.\test1_5.plg

......\1

......\2

......\3

......\4

......\5

实验一

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org