[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷22及答案与解析.doc

上传人:Iclinic170 文档编号:505552 上传时间:2018-11-29 格式:DOC 页数:2 大小:23.50KB
下载 相关 举报
[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷22及答案与解析.doc_第1页
第1页 / 共2页
[计算机类试卷]计算机三级数据库技术(上机操作)机试模拟试卷22及答案与解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

1、计算机三级数据库技术(上机操作)机试模拟试卷 22及答案与解析 一、程序设计题 1 程序 prog1 C的功能是:计算出自然数 six和 nine满足条件six+six+six=nine+nine的个数 cnt,以及满足此条件的所有 six与 nine的和 sum。请编写函数 countValue()实现程序的要求,最后 main()函数调用函数 writeDAT()把结果 cnt和 sum输出到文件 out dat中。其中的 S、 i、 x、 n、 e各代表一个十进制数字,允许代表的数字相同,但 s和 n不能为 0。例如: 944+944+944=1416+1416。 【试题程序】 #inc

2、Iude int cnt。 sum; void writeDAT(); void countValue() void main() cnt=sum=0: countValue(); printf(“满足条件的个数 = d n”, cnt); printf(”满足条件所有的 SIX与 NINE的和 = d n”, sum); writeDAT(): void writeDAT() FILE*fp; fp=fopen(“out dat”, “W”); fprintf(fp, “ d n d n”, cnt, sum); fclose(fp); 计算机三级数据库技术(上机操作)机试模拟试卷 22答案与解析

展开阅读全文
相关资源
猜你喜欢
  • ASTM B457-1967(2013) Standard Test Method for Measurement of Impedance of Anodic Coatings on Aluminum《铝表面阳极镀层阻抗测定的标准试验方法》.pdf ASTM B457-1967(2013) Standard Test Method for Measurement of Impedance of Anodic Coatings on Aluminum《铝表面阳极镀层阻抗测定的标准试验方法》.pdf
  • ASTM B462-2006 Specification for Forged or Rolled UNS N06030 N06022 N06035 N06200 N06059 N06686 N08020 N08024 N08026 N08367 N10276 N10665 N10675 N10629 N08031 N06045 N06025 & R2003.pdf ASTM B462-2006 Specification for Forged or Rolled UNS N06030 N06022 N06035 N06200 N06059 N06686 N08020 N08024 N08026 N08367 N10276 N10665 N10675 N10629 N08031 N06045 N06025 & R2003.pdf
  • ASTM B462-2010 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08024 UNS N08026 UNS N08367 .pdf ASTM B462-2010 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08024 UNS N08026 UNS N08367 .pdf
  • ASTM B462-2010e1 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08024 UNS N08026 UNS N0836.pdf ASTM B462-2010e1 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08024 UNS N08026 UNS N0836.pdf
  • ASTM B462-2010e2 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08024 UNS N08026 UNS N0836.pdf ASTM B462-2010e2 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08024 UNS N08026 UNS N0836.pdf
  • ASTM B462-2015 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08367 UNS N10276 UNS N10665 .pdf ASTM B462-2015 Standard Specification for Forged or Rolled UNS N06030 UNS N06022 UNS N06035 UNS N06200 UNS N06059 UNS N10362 UNS N06686 UNS N08020 UNS N08367 UNS N10276 UNS N10665 .pdf
  • ASTM B463-2004 Standard Specification for UNS N08020 UNS N08026 and UNS N08024 Alloy Plate Sheet and Strip《UNS N08020、UNS N08026和UNS N08024合金板、薄板和带材标准规范》.pdf ASTM B463-2004 Standard Specification for UNS N08020 UNS N08026 and UNS N08024 Alloy Plate Sheet and Strip《UNS N08020、UNS N08026和UNS N08024合金板、薄板和带材标准规范》.pdf
  • ASTM B463-2004(2009) Standard Specification for UNS N08020 UNS N08026 and UNS N08024 Alloy Plate Sheet and Strip.pdf ASTM B463-2004(2009) Standard Specification for UNS N08020 UNS N08026 and UNS N08024 Alloy Plate Sheet and Strip.pdf
  • ASTM B463-2010 Standard Specification for UNS N08020 Alloy Plate Sheet and Strip《UNS N08020 合金厚板材、薄板材和带材标准规范》.pdf ASTM B463-2010 Standard Specification for UNS N08020 Alloy Plate Sheet and Strip《UNS N08020 合金厚板材、薄板材和带材标准规范》.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 职业资格

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1