0
How can I draw a triangle
I have a question in java language, How can I draw a triangle of stars by using java for loop?. Please. .
2 Antworten
0
I just wrote that program ;).
Basically, the program prints an asterisk until j becomes equal to i. Then a break line is executed. As i increases by 1, each line will have one more asterisk than the previous one.
https://code.sololearn.com/cGzCYp0545bF/?ref=app
0
Thanks, that's good