class TaiJi
{
public static void main(String[] args)
{
for(int x=1;x<=48;x+=2)
{
for(int y=1;y<=79;y++)
{
double a=(x-24)*(x-24)+(y-40)*(y-40);
double b=(x-32)*(x-32)+(y-46)*(y-46);
double c=(x-16)*(x-16)+(y-34)*(y-34);
double d=(y-40)/5.0-Math.sin((x-10)/5.0);
System.out.print(c<20||(a<400&&d>0&&b>20||(a<400&&a>330))?"#":" ");
}
System.out.println();
}
}
} |
|