网站大量收购独家精品文档,联系QQ:2885784924

三级网络技术上机C语言题库27-32(国外英文资料).doc

三级网络技术上机C语言题库27-32(国外英文资料).doc

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
三级网络技术上机C语言题库27-32(国外英文资料)

三级网络技术上机C语言题库27-32(国外英文资料) The data is recombined Question 27 [title] known data files IN the DAT of 200 four digits, and has set up a read function called readDat () the number IN the array a., please prepare a examinee function jsVal (), its features are: the one thousand Numbers and ten Numbers to form a new contains two digits number ab (the number of new ten digit number is the original one thousand Numbers, four digits will be the unit digit of the new number ten digits of four digits), as well as the unit digit and one hundred digits of another new CD contains two digit number (the number of new ten digit number is, the unit digit of the original four digits will be the unit digit of the new number one hundred digits) of the original four digits, if the number of newly formed two ab - CD = O and ab - CD = 10 and two Numbers are odd, at the same time the number of the two new ten digits are zero, will meet the conditions of four digits IN order from large to small IN the array b, and to compute the four figures to meet the conditions of the number of CNT. The final main () function calls the write function writeDat () to output the result CNT and the conditional four-digit output in array b to the file out.dat. Note: some source files exist in the file prog1.c file. The array is defined in the program: a [200], b [200], defined variables: CNT. Do not change any data IN the data file IN.dat, main function main (), read function readDat () and write function writeDat (). Required to bear on the problem solving thinking 】 【 known number according to pay equal attention to form two digits after the decimal digit split, according to a certain judgement conditions screening statistics and then sorted by size. According to the question, should be take each in turn from the array a four digits, according to the decimal digit after break up and restructuring, according to the judgment given in the dry conditions (two Numbers of new ab - CD = 0 and ab - CD = 10 and

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档