心-c++

root 站长 2020-08-28 9:43:51 1
#include <iostream>
#include <windows.h>
using namespace std;

int main()
{
	system("color 9E");
	for (double y = 1.3; y > -1; y -= 0.1)
	{
		for (double x = -1.2; x < 1.2; x += 0.04)
		{
			double a = x*x+y*y-1;
			if (a*a*a < x*x*y*y*y) putchar(3);
			else putchar(32);
		}
		putchar(10);
	}
	return 0;
}
{{ vote && vote.total.up }}