你敢试试吗,好奇心会害死猫
public static void Main(string[] args)
{
for (float y = 1.5f; y > -1.5f; y -= 0.1f) {
for (float x = -1.5f; x < 1.5f; x += 0.05f) {
float a = x * x + y * y - 1;
Console.Write(a * a * a - x * x * y * y * y <= 0 ? "*" : " ");
}
Console.WriteLine();
}
}