2012年9月考前押题c语言1

2012年9月考前押题c语言1

ID:16849936

大小:1.41 MB

页数:33页

时间:2018-08-25

2012年9月考前押题c语言1_第1页
2012年9月考前押题c语言1_第2页
2012年9月考前押题c语言1_第3页
2012年9月考前押题c语言1_第4页
2012年9月考前押题c语言1_第5页
资源描述:

《2012年9月考前押题c语言1》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、2012年9月C语言上机押题(海贝上机资料上的套题号)P22.P23.P35.P46.P611.P713.P714.P815.P117.P119.P1210.P1518.P1620.P1722.P1823.P2028.P2233.P232.P244.P288.P2911.P3115.P3217.P3710.P3913.P4014.P4015.P424.P447.P459.P491.P514.P511.P521.P653.P662.P673.P671.P741.P7810.P8015.P8116.P8320.P8321.P8423.P862

2、.P873.P885.P886.P897.P898.P9010.P9111.P9112.P9317.P9418.P952.P963.P987.P988.P991.P1084.P1073.P1103.P1101.P1112.P1122.P1145.P1146.P1157.P1169.P11610.P11711.P1182.P1227.P1231.P1242.P1253.P1275.P1286.P1301.P1302.P1342.P1343.P1354.P1355.P1377.P1388.forthequalityofreviewsandre

3、view.Article26threview(a)theCCRAcompliance,whethercopiesofchecks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloansforthequalityofreviewsandreview.Article26threview(a)theCCRAcomplia

4、nce,whethercopiesofchecks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloans以下是资料上没有的题目和做完的答案#includedoublefun(doublex,intn){doublef,t;inti;f=1.0;/**********found**********

5、/t=1.0;/**********found**********/for(i=1;i#includevoidfun(char*s,chart[]){forthequalityof

6、reviewsandreview.Article26threview(a)theCCRAcompliance,whethercopiesofchecks;(B)whetherdoubleinvestigation;(C)submissionofprogramcompliance,investigationorexaminationofwhetherviewsareclear;(D)theborrower,guarantorloansinti,n=0;for(i=0;s[i];i++)if(s[i]%2==0)t[n++]=s[i];t[n

7、]=’’;}main(){chars[100],t[100];voidNONO();printf("PleaseenterstringS:");scanf("%s",s);fun(s,t);printf("Theresultis:%s",t);NONO();}voidNONO(){/*本函数用于打开文件,输入数据,调用函数,输出数据,关闭文件。*/chars[100],t[100];FILE*rf,*wf;inti;rf=fopen("K:\K181\24010004\in.dat","r");wf=fopen("K

8、:\K181\24010004\out.dat","w");for(i=0;i<10;i++){fscanf(rf,"%s",s);fun(s,t);fprintf(wf,"%s",

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。