I have a huge problem. I take Informatic class and we got a job to make a program that I have no idea how to make. Can you please help me?
Make a program in Java that will write this triangle in * if you put in an optional height that is written in the variable. The example if the number 4 is written looks like this:
*
* *
* * *
* * * *
And if you have some more time can you please explain to me why did you do it like this? And how would you make this on paper?