confused as how to implement stars next to space "∆"
i am doing an assignment where you have to make a right-leaning triangle. However, I am confused as how to make the stars go be placed next to the "∆" (Place holder for " "). I tried using a for loop for the stars where they would supposedly be placed next to the space (∆), however, the output of the stars become jagged and the output overall doesn't look like a right-leaning triangle. Anyone out there who could help?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
JC|HCL
Java Community | Help. Code. Learn.
We are a Community full of Java developers. Connect with other devs, get help, help others and do much more!