1. 统计工资 设计要求: (1) 使用结构数组设计一个公司职员的数据结构,使用下述的结构定义: struct employee{ int age char NAME[15] double salary } (2) 在主函数里构造一个数组company,用来存放职工信息。 (3) 设计update函数,用来对company中指定职员的信息进行更改。要求先按照NAME查询到相应的职员,然后修改并保存。 (4) 设计一个read函数,用来向company中录入职员信息,并显示结果。 (5) 编写mean函数求平均工资。 应该能对全体职工或大于某一年龄的职工工资求和并计算平均值。 (6) 编写total函数对工资求和。 应该能对全体职工或某一年龄段职工的工资求和。
上传时间: 2014-01-23
上传用户:colinal
javaScript调用applet,必须用NAME指定applet的名字,然后document.NAME.method(param)就可以调用applet方法,方法必须是public
标签: javaScript applet
上传时间: 2014-08-17
上传用户:firstbyte
继承和多态 实验目的: 1、 掌握继承和多态的概念与实现方法 2、 掌握如何从已有的类中派生子类并继承父类 3、 掌握方法的覆盖和重载 实验内容: 设计一个通用的排序算法,作为验证,自定义学生类、矩形类,可以利用该排序算法对学生按照ID以及NAME进行排序;对矩形按照面积排序。
上传时间: 2017-01-28
上传用户:王者A
学生成绩查询系统,运用结构体,struct ,sort ,Clrscr(),textcolor()函数,用for()循环语句,switch和ifelse作为条件测试语句。 程序实现了学生成绩查询功能,有20个我们班学生的数据信息,每个包含: 学号 — num [10](字符串)、姓名(拼音)— NAME[25](字符串)、 性别 — sex(字符,M或W)、年龄 — age(整型)、 三门课程成绩(高数、英语、计算机)— score [3 ](单精度)。设计一个系统: 定义及输出。用结构体类型数据及其赋初值的方法把学生的数据送到结构体数组中(第一个数据用自己的真实数据,其它数据自定,但注意要是合法数据),然后把它们输出显示;计算并排序。计算每个学生三门课程的总分(sum,单精度)及平均分(aver,单精度,输出一位小数),还有他们成绩的排名,将包括所有数据的结构体数组元素按总分从大到小的顺序排序打印出来; 运行程序,进入主界面!可输入1—输出所有学生的成绩,输入2—计算和排列学生的成绩,输入3—查询学生个人成绩,输入4—退出查询。 在进行学生个人成绩个人查询可以实现多次查询——进入学生个人查询,输入1回车实现多次查询。 运行环境为TURBOC ,WINDOWSXP。
标签: 成绩查询系统
上传时间: 2014-01-01
上传用户:cx111111
用汇编语言建立一个表格,用于存储会员信息,其中包括身份证号(IDCARD),姓名(NAME),性别(SEX),年龄(AGE),职业(OCCUPATION)共五个字段。支持的操作包括: 1、列出表中内容 2、追加记录 3、根据给定的某一字段信息删除记录 4、根据给定的某一字段信息查找记录
上传时间: 2017-02-06
上传用户:懒龙1988
Linux was first released into an unsuspecting world in the summer of 1991. Initially the spare-time hobby of a Finnish computer scientist by the NAME of Linus Torvalds, Linux was at first accessible only in software source code form to those with enough expertise to build and install it. Early enthusiasts (most also developers themselves by necessity) exploited the growth of the Internet in the early 1990s as a means to build online communities and drive development forward. These communities helped to build the first Linux software distributions, containing all the software components needed to install and use a Linux system without requiring users to be technical experts.
标签: unsuspecting spare-time Initially the
上传时间: 2013-12-12
上传用户:dianxin61
选择两个文件夹,能对里面的文件进行对比,文件名相同则显示NAME,文件名和内容相同则显示N&C
标签:
上传时间: 2017-02-18
上传用户:TRIFCT
Applet小游戏 附件是我自己做的一个打字游戏,其中用到了java的多线程, 打开play.html 即可看到游戏画面. 其源代码中的四个applet 参数: <param NAME = "stepLen" value = "3"> <param NAME = "stepInterval" value = "50"> <param NAME = "columNum" value = "15"> <param NAME = "createInterval" value = "600"> 改变它们的值可以改变字母下落速度. 有兴趣的话,可以帮忙看看,有不足的还望大家指出. 下面的TypeTrainApplet.rar是源代码. 开发环境: jBuilder7.0 , jdk4.0
上传时间: 2017-02-20
上传用户:lz4v4
There are three ways of specifying an immediate dump Immediate dumps can be specified using the ALTER SESSION command ALTER SESSION SET EVENTS immediate trace NAME dump level level Immediate dumps can be specified in ORADEBUG ORADEBUG DUMP dump level
标签: specifying Immediate immediate specified
上传时间: 2014-01-17
上传用户:mpquest
RTOS ThreadX Real-Time Embedded Multithreading: Using ThreadX and ARM Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where CMP is aware of a trademark claim, the product NAME appears in initial capital letters, in all capital letters, or in accordance with the vendor鈥檚 capitalization preference. Readers should contact the appropriate companies for more complete information on trademarks and trademark registrations. All trademarks and registered trademarks in this book are the property of their respective holders.
标签: ThreadX Multithreading Designations Real-Time
上传时间: 2013-12-18
上传用户:ZJX5201314