#include<iostream>
#include<cmath>
using namespace std;
int main()
{
while (true)
{
float x, y;
for (y = 1.5f; y > -1.5f; y -= 0.1f)
{
for (x = -1.5f; x < 1.5f;x += 0.05f)
{
float a = x * x + y * y - 1;
if ((a * a * a - x * x * y * y * y) <= 0) cout << "^";//心形程序
else cout << " ";
}
cout << endl;
}
cout << " miss you " << endl;
system("pause");
system("cls");
}
return 0;
}
不喜欢,请划过。勿喷!