Home » » Java Code Star Design

Java Code Star Design

Written By Basith on Thursday, May 22, 2014 | 12:57 AM




public class star {
public static void main(String args[]) {

for(int i = 1; i <= 6; i++) {
for(int e = 1; e <= i; e++) {
System.out.print("*");
}
System.out.println();
}
}
}




0 comments:

Post a Comment

Followers