- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
最近下载
- 2025黑龙江哈尔滨“丁香人才周”(春季)民兵教练员专场招聘35人笔试备考题库及答案解析.docx VIP
- 2024年邵阳职业技术学院单招职业适应性测试题库及答案解析.docx VIP
- 武汉市人防工程登记表.doc
- 【公开课】Unit5MusicReadingandThinking课件-2021-2022学年高中英语人教版(2019)必修第二册.pptx VIP
- 2025年邵阳职业技术学院单招职业倾向性测试题库ab卷.docx VIP
- 糖尿病病人的护理查房.ppt
- 七年级下英语学探诊答案2022.pdf VIP
- 鼎信诺审计系统操作说明书 .pdf VIP
- 2025年广东省春季高考英语阅读五选五专项训练(含答案解析).pdf VIP
- 定岗定编操作实务.pptx VIP
文档评论(0)