+ 1
C# Triangle of stars
I am trying to write a code that prints a triangle with "*" that is empty inside and my code kinda prints something but apparently i made a mistake somewhere, I'd appreciate if anyone could help me with this https://code.sololearn.com/c9p197iCvawJ/?ref=app
9 Respostas
+ 4
You only need to change line 30, from B =" "; into B =" "; you used one space pad there, make it two spaces and it's fine : )
+ 4
No problem mate : )
+ 4
Good job đ
+ 3
Ipang thanks for your help.
+ 2
Ipang I'm trying to make it symmetrical but it doesn't work for half of itđ€, can you take a look?
+ 2
Not too sure what your goal is, by symmetrical did you mean a pyramid like shape or something else?
+ 2
Ipang kind of an equilateral triangle
+ 2
Ipang ok, i fixed the issue myself, i thought i could decrement n inside the for loop parentheses but that's wrong. just took that out and it works now.
0
okay i guss