#include <iostream>
#include <string>
#include <cstdio>
#include <cmath>
using namespace std;
int main()
{
int c = 0;
system("color 0c");
string str = "I love vicky ";//这里可以修改成你想要的文字
for (float i = 2.5;i > -2.0;i -= 0.12)
{
for (float j = -2.5;j < 2.1;j += 0.05)
{
float a = i * i + j * j - 4;
if (a * a * a - j * j * i * i * i < -0.0)
{
int n = c % str.length();
putchar(str.at(n));
c++;
}
else
printf(" ");
}
printf("\n");
}
system("pause");
return 0;
}
暂无评论