Give you a little heart

 for(float y = (float) 1.5; y>-1.5; y -=0.1) { for(float x= (float) -1.5;x<1.5;x+= 0.05) { float a = xx+yy-1; if((aaa-xxyyy)<=0.0) { if(Math.abs(x+0.100000712)<=1e-6 && Math.abs(y-0.6999998)<=1e-6) { System.out.print("J"); continue; }  if(Math.abs(x+0.050000306)<=1e-6 && Math. abs(y-0.6999998)<=1e-6) { System.out.print("a"); continue; }  if(Math.abs(x+-3.0621885E-7)<=1e-6 && Math. abs(y-0.6999998)<=1e-6) { System.out.print("s"); continue; }  if(Math.abs(x-0.049999695)<=1e-6 && Math. abs(y-0.6999998)<=1e-6) { System.out.print("m"); continue; }  if(Math.abs(x-0.100000001)<=1e-6 && Math. abs(y-0.6999998)<=1e-6) { System.out.print("i"); continue; }

                Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("*");

            }
            else
                Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print(" ");
        }

        for(float x= (float) 1.5;x<4.5;x+= 0.05)
        {
            float a = (x-3)*(x-3)+y*y-1;
            boolean flag = false;
            if((a*a*a-(x-3)*(x-3)*y*y*y)<=0.0)
            {
                if(Math.abs(x-3+0.100000712)<=1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6)
                {
                    Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("D");
                    flag = true;
                    continue;
                }
                if((Math.abs(x-2.9499986)) <= 1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6 )
                {
                    Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("e");
                    continue;
                }
                if(Math.abs(x-2.9999986)<=1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6)
                {
                    Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("r");
                    continue;
                }
                if(Math.abs(x-3.0499985)<=1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6)
                {
                    Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("e");
                    continue;
                }
                if(Math.abs(x-3.0999985)<=1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6)
                {
                    Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("k");
                    continue;
                }

                Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("*");

            }
            else
                Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print(" ");
        }

        Sy<a href="https://www.jb51.cc/tag/stem/" target="_blank" class="keywords">stem</a>.out.print("\n");
    }
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>