加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

送你小心心

发布时间:2020-12-14 06:15:31 所属栏目:Java 来源:网络整理
导读:div class="cnblogs_Highlighter" pre class="brush:java;collapse:true;;gutter:true;"for(float y = (float) 1.5;y-1.5;y -=0.1) { for(float x= (float) -1.5;x1.5;x+= 0.05) { float a = x x+y y-1; if((a a a-x x y y y)=0.0) { if(Math.abs(x+0.100000

<div class="cnblogs_Highlighter">
<pre class="brush:java;collapse:true;;gutter:true;">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;
}

                System.out.print("*");

            }
            else
                System.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)
                {
                    System.out.print("D");
                    flag = true;
                    continue;
                }
                if((Math.abs(x-2.9499986)) <= 1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6 )
                {
                    System.out.print("e");
                    continue;
                }
                if(Math.abs(x-2.9999986)<=1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6)
                {
                    System.out.print("r");
                    continue;
                }
                if(Math.abs(x-3.0499985)<=1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6)
                {
                    System.out.print("e");
                    continue;
                }
                if(Math.abs(x-3.0999985)<=1e-6 &amp;&amp; Math.abs(y-0.6999998)<=1e-6)
                {
                    System.out.print("k");
                    continue;
                }

                System.out.print("*");

            }
            else
                System.out.print(" ");
        }

        System.out.print("n");
    }

  

                        

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读