I'm new to java. I want to print a triangle using for loop. So how can i do it ?
Please help me.