学生成绩查询系统,运用结构体,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
SENTINEL 的加密狗lic生成工具方法如下 1.copy a870.sentinel to windows\system32 folder. 2.run Emulator Utility and then press install button and close the utility. 3.run wechoid.exe, selector must be 1e or 1c 4.then run LicGen and use selector and code from wechoid.exe w/o 0x, it will make a license for that pc
标签: windowssystem SENTINEL Emulator sentinel
上传时间: 2017-02-10
上传用户:498732662
random number generator,随机数产生器,可以产生均匀分布的随机数,有Mersenne twister, RANROT-B,RANROT-W, Mother-of-all等
标签: generator random number 随机数
上传时间: 2017-02-16
上传用户:hphh
//--- --- --- - 音乐简谱播放器--- --- --- - /*奏乐程序使用说明 调用方式: sing fname [speed [times]] 文件名 速度(拍/分) 遍数 简谱文件格式: 第1行: 曲名 节拍 调号 第2行-- 乐谱 (空格,换行无意义,但不得插在一个"音描述"内部) 记号: * 节拍,调号,小节分隔符,终止符,升音符,中音音高,休止符,附点,延长 符等 -- 按照常规. * 音描述 -- [3连音符][升降还原符]音高[高低音后缀][音长][附点][延长符] * 3连音符 -- ^ 只标在第1音前,音长只标在第3音后 (3连音的实际总音长为所标音长的两倍,例如:^323 的总音长为1拍) * 降音符 -- @ * 还原符 -- $ * 高低音后缀 -- H(高音) U(高16度音) 连用音程相加 L(低音) W(低16度音) * 音长 -- 无(1拍) (1/2拍) "(1/4拍) 连用为相乘*/
上传时间: 2014-11-28
上传用户:hj_18
复接入,B/W双用户使用直接扩频序列 % >>>multiple access b/w 2 users using DS CDMA % >>>format is : cdmamodem(user1,user2,snr_in_dbs) % >>>user1 and user2 are vectors and they should be of equal length % >>>e.g. user1=[1 0 1 0 1 0 1] , user2=[1 1 0 0 0 1 1],snr_in_dbs=-50 % >>>or snr_in_dbs=50 just any number wud do % Waqas Mansoor % NUST , Pakistan
标签:
上传时间: 2014-11-22
上传用户:zl5712176
给定一棵有向树T,树T中每个顶点u都有一个权w[u],树的每条边[u,v]也都有一个非负边长d[u,v]。有向树T的每个顶点u可以看做客户,其服务需求量为w[u]。每条边[u,v]的边长d[u,v]可以看做是运输费用。如果在顶点u处未设置服务机构,则将顶点u处的服务需求沿有向树的边(u,v]转移到顶点v处服务机构,则需付出的服务转移费用为w[u]*d[u,v]。树根处已设置了服务机构,现在要在树T中增设k处服务机构,使得整棵树T的服务转移费用最小。该算法对于给定的有向树T,计算在树T中增设k处服务机构的最小服务转移费用。
标签: 树
上传时间: 2017-03-13
上传用户:semi1981
本规范定义了可扩展标记语言[Extensible Markup Language,XML] 紧凑的二进制表示方法。设计二进制X M L内容格式是为了减少X M L文档的传输量,使X M L数据能在窄带信道上得到更有效的利用。二进制X M L内容格式的使用示例请参阅[ W M L ]规范。
标签: Extensible Language Markup 定义
上传时间: 2013-12-18
上传用户:cccole0605
This Program Cotains Eeprom Read-write functions, 4 Bit LCD interface routines, Keyboard Interface with normal Key Input to the 89C52 atmel Microcontroller.
标签: Read-write Interface functions interface
上传时间: 2014-01-03
上传用户:jqy_china
The Window Design Method The basic idea behind the design of linear-phase FIR filters using the window method is to choose a proper ideal frequency-selective filter [which always has a noncausal, infinite duration impulse response] and then truncate its impulse response hd[n] to obtain a linear-phase and causal FIR filter h[n]. To truncate the impulse response of the ideal filter a time window w[n] is used. Available windows in Matlab are rectangular [or boxcar in Matlab], bartlett, hamming, hanning
标签: linear-phase The the filters
上传时间: 2017-03-20
上传用户:PresidentHuang
HDFDUMP and BRFDUMP are utility programs developed for use with MISR data files. HDFDUMP will extract data from a MISR file in the HDF-EOS grid format (MISR Level 1B2 and Level 2 files) and writes unformatted binary files. BRFDUMP calculates radiances and bidirectional reflectance factors (BRF) from MISR Level 1B2 files and creates unformatted binary files.
标签: HDFDUMP developed programs BRFDUMP
上传时间: 2017-04-02
上传用户:yy541071797