ok so i get how to do the first triangle and here's the code i came up with for it:
public void starsA()
{
final int MAX_ROWS = 6;
for(int row = 1; row <=MAX_ROWS; row++)
{
for(int star =1; star <=row; star++)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.