+ 2
Something wrong pattern print please cheak
5 odpowiedzi
+ 5
How did you expect it to be?!
Give a little more details about it.
+ 4
Change this
for (int j = n-1; j >= 1; j--)
to this
for (int j = 2 * (n-1); j >= i; j--) {
+ 1
I write pattern inside code cheak..
+ 1
Hey give I=n rather then n-1..
0
just type following
print(" *")
print(" **")
print(" ***")
print(" ****")
print("*****")