Assume that the int variables i and j have been declared , and that n has been declared and initialized .

Assume that the int variables i and j have been declared , and that n has been declared and initialized .

LANGUAGE: JAVA

CHALLENGE:

Assume that the int variables i and j have been declared , and that n has been declared and initialized .

Using for loops (you may need more than one), write code that will cause a triangle of asterisks of size n to be output to the screen.

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level