```java
public class LoveHeart {
public static void main(String[] args) {
int i, j;
double x, y;
for (i = 15; i > -15; i--) {
for (j = -30; j < 30; j++) {
x = i / 20.0;
y = j / 15.0 - 1;
if ((x * x + y * y - 1) * (x * x + y * y - 1) * (x * x + y * y - 1) - x * x * y * y * y <= 0) {
System.out.print("*");
} else {
System.out.print(" ");
}
}
System.out.println();
}
}
}
```
public class LoveHeart {
public static void main(String[] args) {
int i, j;
double x, y;
for (i = 15; i > -15; i--) {
for (j = -30; j < 30; j++) {
x = i / 20.0;
y = j / 15.0 - 1;
if ((x * x + y * y - 1) * (x * x + y * y - 1) * (x * x + y * y - 1) - x * x * y * y * y <= 0) {
System.out.print("*");
} else {
System.out.print(" ");
}
}
System.out.println();
}
}
}
```
上一篇:采煤工作面发生机电事故检讨书
下一篇:许三观卖血记第三次卖血读后感