public class Main {public static void main(String[] args) throws Exception {for (float i = 1.5f; i > -1.5f; i -= 0.15f) {for (float j = -1.5f; j < 1.5f; j += 0.05f) {float a = i * i + j * j - 1;String str =(a * a * a - j * j * i * i * i)<= 0.0f ? "*" : " ";System.err.print(str);}Thread.sleep(120);System.err.println("");}}}
文章转载自云丶言,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。





