Can anyone solve this Java problem?
Write an algorithm + a program that will allow us to display the following output:
N=1
*
N=2
**
*
N=3
**
*
and so on…….
Now modify the above program so that it now displays the following output:
N=1
*
N=2
**
*
N=3
**
*
and so on…….
Stuck on first part itself