全文预览

2013C复习纲要

上传者:火锅鸡 |  格式:pdf  |  页数:52 |  大小:3640KB

文档介绍
**********/\r/************end************/\rprintf (^The Lowest Common Multiple of %d and %d is %d\n>z, m, n, t);\rreturn 0;\r}\rMÂ\r1._`¥>hŠPROG. C 0‘:.\rŠ s=a+aa+aaa+... +aaÄa(n§ a)4 © ,M # a ‘[§*Å?ƕWa=2, n=4Ç,\rs=2+22+222+2222=2468\rPROG. C #\r$ fun( ))*#0/*******begiri********/ 2 /********end*********/\r4567890:;<=>?@A>BCDEFGHI?$JKLMNOP0Q\rRST\rUVWmain?)*#0YZ[A\]main?)*Z^0ST>_`abcd>efga\rhijkSTlQRKL\r@A?mn>oZpPROG. C qr\r#include <stdio. h>\rint fun(int a , int n)\rint s;\r/***********beg in***********/\r/************end************/\rreturn (s);\rint main ()\rint a, n, s;\rprintf (z>Please input a, n:\n­)®\rscanf (z/%d, %dz>, &a, 4n); s=fun (a, n);\rprintf (/zs=%d\nz/, s);\rreturn 0;}

收藏

分享

举报
下载此文档