+ 2

Something wrong pattern print please cheak

https://code.sololearn.com/chEQKYlV0ybN/?ref=app

24th Nov 2018, 6:37 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar
5 odpowiedzi
+ 5
How did you expect it to be?! Give a little more details about it.
24th Nov 2018, 6:44 AM
Babak
Babak - avatar
+ 4
Change this for (int j = n-1; j >= 1; j--) to this for (int j = 2 * (n-1); j >= i; j--) {
24th Nov 2018, 6:55 AM
Babak
Babak - avatar
+ 1
I write pattern inside code cheak..
24th Nov 2018, 6:48 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar
+ 1
Hey give I=n rather then n-1..
10th Apr 2019, 6:10 AM
Syntax_error_chaitu
Syntax_error_chaitu - avatar
0
just type following print(" *") print(" **") print(" ***") print(" ****") print("*****")
27th Apr 2023, 10:58 PM
Vincent Shi