C语言求爱:闪烁心形+实心+空心.docxVIP

  • 37
  • 0
  • 约4.57千字
  • 约 11页
  • 2019-10-11 发布于江西
  • 举报
【C语言】编程输出“小?”的代码 你好同学,因为不知道你具体求爱需要什么,先给你看一个别人做的优秀程序: #includestdio.h #includemath.h #include windows.h #define r 10 #define R 172 int main() { int i,j,e; int a; int n; FILE *fp; if((fp=fopen(LOVE.txt,w))==NULL) { printf(File open error!\n); exit(0); } for(i=1,a=r;ir/2;i++,a--) { for(j=(int) ( r-sqrt((r*r-(a-i)*(a-i))) );j0;j--) { printf( ); fprintf(fp,%s, ); } for(e=1;e=2*sqrt((r*

文档评论(0)

1亿VIP精品文档

相关文档