![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
_natural
这个作者很懒,什么都没留下…
展开
-
c程序画圆
#include #include int main() { int x,m; double y; for(y=10;y>=-10;y--) //圆的半径为10 {m=2.2*sqrt(100-y*y); //计算行y对应的列坐标m,2.2为屏幕纵横比调节系数,屏幕的行距大于列距,不调节会是椭圆 for(x=1;x { printf(" "); //图形左侧空白控制原创 2018-01-23 22:14:50 · 2128 阅读 · 0 评论 -
C语言实现 排序算法
#include <stdio.h> #include <string.h>#include <ctype.h> #include <stdlib.h> #include <math.h> #include <time.h>#define OK 1#define ERROR 0#define TRUE 1...原创 2018-02-09 22:00:05 · 208 阅读 · 0 评论