using for loops in java, how do i create this pattern in the output window?
you an only use System.out.print('*') and System.out.println()

*
**
***
****
*****
******
*******
********
*********
**********