1 1 1 1 1
2 2 2 2 2
1 1 1 1 1
4 4 4 4 4
1 1 1 1 1
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
*
* *
* * *
* * * *
* * * * *
* * * *
* * *
* *
*
Here is how to do it :-) be sure to best answer and visit my site below
public class TestScores {
public static void main(String args[]){
for (int x = 1; x < 10; x++ ) {
for (int y = 0; y < x; y++) {
System.out.print("*");
}
System.out.println();
}
}
}
0 0 0 0 0
1 1 1 1 1
2 2 2 2 2
1 1 1 1 1
4 4 4 4 4
1 1 1 1 1
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
*
* *
* * *
* * * *
* * * * *
* * * *
* * *
* *
*