[计算机类试卷]国家二级C语言机试(操作题)模拟试卷354(无答案).doc

上传人:medalangle361 文档编号:846909 上传时间:2019-02-21 格式:DOC 页数:3 大小:27KB
下载 相关 举报
[计算机类试卷]国家二级C语言机试(操作题)模拟试卷354(无答案).doc_第1页
第1页 / 共3页
[计算机类试卷]国家二级C语言机试(操作题)模拟试卷354(无答案).doc_第2页
第2页 / 共3页
[计算机类试卷]国家二级C语言机试(操作题)模拟试卷354(无答案).doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

国家二级 C 语言机试(操作题)模拟试卷 354(无答案)一、程序填空题1 用筛选法可得到 2n (nint fun (int n) int a10000 ,i,j, count=0 ;i = 2;while (i#includevoid fun (int a,int *b,int *c) int i,j ,d,y;for (i=3;idouble fun (int n)NONO()/*请在此函数内打开文件,输入测试数据,调用 fun 函数,输出数据,关闭文件。*/FILE *rf,*wf; int n,i ; double s;rf fopen(“indat“,“r“) ;wf=fopen “outdat“,“w“) ;for(i = 0 ; i 10 ; i+) fscanf (rf, “ d“, &n);s = fun (n);fprintf (wf, “1fn“ , s);fclose (rf); fclose (wf);main()int n; double s ;printf(“nlnput n: ”);scanf(“d“, &n);s=fun (n);printf (“nns=fn“ ,s);NONO();

展开阅读全文
相关资源
猜你喜欢
  • DIN EN 16114-2011 Management consultancy services German version EN 16114 2011《管理咨询服务 德文版 EN 16114-2011》.pdf DIN EN 16114-2011 Management consultancy services German version EN 16114 2011《管理咨询服务 德文版 EN 16114-2011》.pdf
  • DIN EN 16116-1-2014 Railway applications - Design requirements for steps handrails and associated access for staff - Part 1 Passenger vehicles luggage vans and locomotives German v.pdf DIN EN 16116-1-2014 Railway applications - Design requirements for steps handrails and associated access for staff - Part 1 Passenger vehicles luggage vans and locomotives German v.pdf
  • DIN EN 16116-2-2014 Railway applications - Design requirements for steps handrails and associated access for staff - Part 2 Freight wagons German version EN 16116-2 2013《轨道交通 台阶、扶手.pdf DIN EN 16116-2-2014 Railway applications - Design requirements for steps handrails and associated access for staff - Part 2 Freight wagons German version EN 16116-2 2013《轨道交通 台阶、扶手.pdf
  • DIN EN 16117-1-2011 Copper and copper alloys - Determination of copper content - Part 1 Electrolytic determination of copper in materials with copper content less than 99 85 % Germ.pdf DIN EN 16117-1-2011 Copper and copper alloys - Determination of copper content - Part 1 Electrolytic determination of copper in materials with copper content less than 99 85 % Germ.pdf
  • DIN EN 16117-2-2013 Copper and copper alloys Determination of copper content Part 2 Electrolytic determination of copper in materials with copper content higher than 99 80 % German.pdf DIN EN 16117-2-2013 Copper and copper alloys Determination of copper content Part 2 Electrolytic determination of copper in materials with copper content higher than 99 80 % German.pdf
  • DIN EN 16119-2013 LPG equipment and accessories - Sealing caps and plugs for LPG cylinder and pressure vessel valves - Specification and testing German version EN 16119 2013《液化石油气(.pdf DIN EN 16119-2013 LPG equipment and accessories - Sealing caps and plugs for LPG cylinder and pressure vessel valves - Specification and testing German version EN 16119 2013《液化石油气(.pdf
  • DIN EN 16120-2017 Child use and care articles - Chair mounted seat German version EN 16120 2012+A2 2016《儿童使用和保育用品 座位安装椅 德文版本EN 16120-2012+A2-2016》.pdf DIN EN 16120-2017 Child use and care articles - Chair mounted seat German version EN 16120 2012+A2 2016《儿童使用和保育用品 座位安装椅 德文版本EN 16120-2012+A2-2016》.pdf
  • DIN EN 16122-2012 Domestic and non-domestic storage furniture - Test methods for the determination of strength durability and stability German version EN 16122 2012《住宅用和非住宅用储存设备 强度.pdf DIN EN 16122-2012 Domestic and non-domestic storage furniture - Test methods for the determination of strength durability and stability German version EN 16122 2012《住宅用和非住宅用储存设备 强度.pdf
  • DIN EN 16123-2013 Characterization of waste - Guidance on selection and application of screening methods German version EN 16123 2013《废弃物特性 筛选方法的选择和应用指南 德文版本EN 16123-2013》.pdf DIN EN 16123-2013 Characterization of waste - Guidance on selection and application of screening methods German version EN 16123 2013《废弃物特性 筛选方法的选择和应用指南 德文版本EN 16123-2013》.pdf
  • 相关搜索
    资源标签

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

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