package day5
;
public class lianxi1
{
public static void main(String
[] args
)
{
for(int i
=1; i
<=7; i
++)
{
for(int j
=1; j
<8; j
++)
{
if(i
==j
|| i
==8-j
)
System
.out
.print("o");
else
System
.out
.print("*");
}
System
.out
.println();
}
}
}
转载请注明原文地址:https://tech.qufami.com/read-5430.html