爱心代码 (代码都给我表白了 啥时候有人和我表白???)
源代码
点击查看代码
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
int main()
{
system("chcp 65001");
float x,y,a;
for(y=1.5;y>-1.5;y-=0.1)
{
for(x=-1.5;x<1.5;x+=0.05)
{
a=x*x+y*y-1;
putchar(a*a*a-x*x*y*y*y<=0.0?'@':' ');
}
system("color 0c");
putchar('\n');
}
printf(" 敢永远比爱重要一万倍!!!");
//这里你想说啥填啥 我就填了一句小说里的话
printf("\n\n\n");
return 0;
}
预览


浙公网安备 33010602011771号