C 练习实例63
题目:画椭圆ellipse(在TC中实现)。
程序分析:无。文章源自公式库网-https://www.gongshiku.com/html/202112/c-lianxishili63.html
实例
#include "stdio.h" #include "graphics.h" #include "conio.h" int main() { int x=360,y=160,driver=VGA,mode=VGAHI; int num=20,i; int top,bottom; initgraph(&driver,&mode,""); top=y-30; bottom=y-30; for(i=0;i<num;i++) { ellipse(250,250,0,360,top,bottom); top-=5; bottom+=5; } getch(); }文章源自公式库网-https://www.gongshiku.com/html/202112/c-lianxishili63.html文章源自公式库网-https://www.gongshiku.com/html/202112/c-lianxishili63.html
运营不易,
感谢支持!

我的微信
我的微信公众号
我的微信公众号扫一扫

我的公众号