全文预览

c语言考试第五单元循环

上传者:科技星球 |  格式:pdf  |  页数:89 |  大小:3797KB

文档介绍
ing:ThedocumentwascreatedwithSpire.PDFfor.NET.\raverage+=grade;\rscanf(u%fu,&grade);\r)\rif(n)printf(Pz%.2f\nu,average/n);\r}\r(1.6)\r1.6\r 0\ra1]@\r0\rP` 0@\ra1]@\r0\r 0p?@\r24EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\r456789?:0;<MJCK£o•¤?IJCKƒ?¥¦CKP§Ey£oA,z\r£oB,\r??\rcharc;\rwhile((c=getchar())!='\n')\r{if(c>='a'&&c<=)\r(\rc=c-30;\rif(c>'Z'&&c<='Z'+2)\rc=c-26;\r)\rprintf("%cn,c);\r)\r(1.6)\r0.0\r]^\ra1]@EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rz\rP` 0@\rp?\r'Z'\r 0p?@\r25\r!"7#`„…I"†‡ˆ‰("PŠpvW`‹ŒŽW+s\]+\rintr,m,n;\rscanf("%d%d",&m,&n);\rif(m<n){r=m;m=n;}\rr=m%n;\rwhile(r){m=n;n=r;r=;}\rprintf("%d\n",n);\r)\r1.6EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\r0.8\r 0\rp?\rn=r;\rp\rr=m%n\rP` 0:\rp?\rn=r;\rp\rm%n\r 0p?@

收藏

分享

举报
下载此文档