1. 統(tǒng)計(jì)工資 設(shè)計(jì)要求: (1) 使用結(jié)構(gòu)數(shù)組設(shè)計(jì)一個(gè)公司職員的數(shù)據(jù)結(jié)構(gòu),使用下述的結(jié)構(gòu)定義: struct employee{ int age char NAME[15] double salary } (2) 在主函數(shù)里構(gòu)造一個(gè)數(shù)組company,用來(lái)存放職工信息。 (3) 設(shè)計(jì)update函數(shù),用來(lái)對(duì)company中指定職員的信息進(jìn)行更改。要求先按照NAME查詢到相應(yīng)的職員,然后修改并保存。 (4) 設(shè)計(jì)一個(gè)read函數(shù),用來(lái)向company中錄入職員信息,并顯示結(jié)果。 (5) 編寫mean函數(shù)求平均工資。 應(yīng)該能對(duì)全體職工或大于某一年齡的職工工資求和并計(jì)算平均值。 (6) 編寫total函數(shù)對(duì)工資求和。 應(yīng)該能對(duì)全體職工或某一年齡段職工的工資求和。
標(biāo)簽: 數(shù)組 數(shù)據(jù)結(jié)構(gòu)
上傳時(shí)間: 2014-01-23
上傳用戶:colinal
javaScript調(diào)用applet,必須用NAME指定applet的名字,然后document.NAME.method(param)就可以調(diào)用applet方法,方法必須是public
標(biāo)簽: javaScript applet
上傳時(shí)間: 2014-08-17
上傳用戶:firstbyte
繼承和多態(tài) 實(shí)驗(yàn)?zāi)康模? 1、 掌握繼承和多態(tài)的概念與實(shí)現(xiàn)方法 2、 掌握如何從已有的類中派生子類并繼承父類 3、 掌握方法的覆蓋和重載 實(shí)驗(yàn)內(nèi)容: 設(shè)計(jì)一個(gè)通用的排序算法,作為驗(yàn)證,自定義學(xué)生類、矩形類,可以利用該排序算法對(duì)學(xué)生按照ID以及NAME進(jìn)行排序;對(duì)矩形按照面積排序。
標(biāo)簽: 實(shí)驗(yàn) 實(shí)現(xiàn)方法 排序算法
上傳時(shí)間: 2017-01-28
上傳用戶:王者A
學(xué)生成績(jī)查詢系統(tǒng),運(yùn)用結(jié)構(gòu)體,struct ,sort ,Clrscr(),textcolor()函數(shù),用for()循環(huán)語(yǔ)句,switch和ifelse作為條件測(cè)試語(yǔ)句。 程序?qū)崿F(xiàn)了學(xué)生成績(jī)查詢功能,有20個(gè)我們班學(xué)生的數(shù)據(jù)信息,每個(gè)包含: 學(xué)號(hào) — num [10](字符串)、姓名(拼音)— NAME[25](字符串)、 性別 — sex(字符,M或W)、年齡 — age(整型)、 三門課程成績(jī)(高數(shù)、英語(yǔ)、計(jì)算機(jī))— score [3 ](單精度)。設(shè)計(jì)一個(gè)系統(tǒng): 定義及輸出。用結(jié)構(gòu)體類型數(shù)據(jù)及其賦初值的方法把學(xué)生的數(shù)據(jù)送到結(jié)構(gòu)體數(shù)組中(第一個(gè)數(shù)據(jù)用自己的真實(shí)數(shù)據(jù),其它數(shù)據(jù)自定,但注意要是合法數(shù)據(jù)),然后把它們輸出顯示;計(jì)算并排序。計(jì)算每個(gè)學(xué)生三門課程的總分(sum,單精度)及平均分(aver,單精度,輸出一位小數(shù)),還有他們成績(jī)的排名,將包括所有數(shù)據(jù)的結(jié)構(gòu)體數(shù)組元素按總分從大到小的順序排序打印出來(lái); 運(yùn)行程序,進(jìn)入主界面!可輸入1—輸出所有學(xué)生的成績(jī),輸入2—計(jì)算和排列學(xué)生的成績(jī),輸入3—查詢學(xué)生個(gè)人成績(jī),輸入4—退出查詢。 在進(jìn)行學(xué)生個(gè)人成績(jī)個(gè)人查詢可以實(shí)現(xiàn)多次查詢——進(jìn)入學(xué)生個(gè)人查詢,輸入1回車實(shí)現(xiàn)多次查詢。 運(yùn)行環(huán)境為TURBOC ,WINDOWSXP。
標(biāo)簽: 成績(jī)查詢系統(tǒng)
上傳時(shí)間: 2014-01-01
上傳用戶:cx111111
用匯編語(yǔ)言建立一個(gè)表格,用于存儲(chǔ)會(huì)員信息,其中包括身份證號(hào)(IDCARD),姓名(NAME),性別(SEX),年齡(AGE),職業(yè)(OCCUPATION)共五個(gè)字段。支持的操作包括: 1、列出表中內(nèi)容 2、追加記錄 3、根據(jù)給定的某一字段信息刪除記錄 4、根據(jù)給定的某一字段信息查找記錄
上傳時(shí)間: 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.
標(biāo)簽: unsuspecting spare-time Initially the
上傳時(shí)間: 2013-12-12
上傳用戶:dianxin61
選擇兩個(gè)文件夾,能對(duì)里面的文件進(jìn)行對(duì)比,文件名相同則顯示NAME,文件名和內(nèi)容相同則顯示N&C
標(biāo)簽:
上傳時(shí)間: 2017-02-18
上傳用戶:TRIFCT
Applet小游戲 附件是我自己做的一個(gè)打字游戲,其中用到了java的多線程, 打開play.html 即可看到游戲畫面. 其源代碼中的四個(gè)applet 參數(shù): <param NAME = "stepLen" value = "3"> <param NAME = "stepInterval" value = "50"> <param NAME = "columNum" value = "15"> <param NAME = "createInterval" value = "600"> 改變它們的值可以改變字母下落速度. 有興趣的話,可以幫忙看看,有不足的還望大家指出. 下面的TypeTrainApplet.rar是源代碼. 開發(fā)環(huán)境: jBuilder7.0 , jdk4.0
標(biāo)簽: Applet applet param java
上傳時(shí)間: 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
標(biāo)簽: specifying Immediate immediate specified
上傳時(shí)間: 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.
標(biāo)簽: ThreadX Multithreading Designations Real-Time
上傳時(shí)間: 2013-12-18
上傳用戶:ZJX5201314
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1