class A{
public static void main(String[] args){
for(int i=0;i<5;i++){
for(int j=0;j System.out.print("*");
}
System.out.print(" ");
}
}
}
public class Test{
public static void main(String [] args){
for(int i = 1; i < 5; i ++){
for(int j = 0; j < 2 * i - 1; j ++){
System.out.print("*");
}
System.out.print(" ");
}
}
}
/**
* @author zbcdj2008
* 文件描述:打印星号
*/
public class XingHao {
/**
* @param args
*/
public static void main(String[] args) {
String x = "*";
for(int i=1; i<=7; i=i+2){
int count =0;
while(count < i){
System.out.print(x);
count ++;
}
System.out.print(" ");
// System.out.println();
}
}
}
public class FileTest{
public static void main(String[] args){
int x=15;
if(x%2>0){
for(int i=1;i
System.out.print("*");
}
System.out.print(" ");
}
}
}
}
public class Js {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
for(int j=1;j<4;j++){
for(int i=1;i<20;i++){
//System.out.println("i"+i);
if(i==j*j+j){
System.out.print(" ");
//System.out.println("i2"+i);
break ;
}else{
System.out.print("*");
}
}
}
}