全文预览

c算法100

上传者:upcfxx |  格式:pdf  |  页数:41 |  大小:2441KB

文档介绍
5;\ryl=yl+5;\rj=j+10;\rx0=263;y1=275;y0=263;\rfor (i=0;i<=20;i++).\rsetcolor (5);\rline(xO, yO, xO, yl);\rx0=x0+5;\ry0=y0+5;\ryl=yl-5;\r)\r234—˜P]Crectangle—­@D\r:;cd4®Cf o r ¯°±²100³999YqPµYqc¶·Y`P¸\r`P¹`D\r:;<=>4\rftinclude “graphics, h ”\rmain ()\r{\rint xO, yO, yl, xl, driver, mode, i ;\rdriver=VGA;mode=VGAHI;\rinitgraph(&driver, &mode,"");\rsetbkcolor(YELLOW);\rx0=263;y0=263;yl=275;xl=275;\rfor(i=0;i<=18;i++).\rsetcolor (1);\rrectangle (xO, yO, xl, yl);\rx0=x0-5;\ry0=y0-5;\rxl=xl+5;\ryl=yl+5;\r)\rsettextstyle(DEFAULT_FONT, HORIZ_DIR, 2);\routtextxy(150, 40, w How beautiful it is!");\rline(130, 60, 480, 60);\rsetcolor(2);\rcircle(269, 269, 137);

收藏

分享

举报
下载此文档