> How to draw types of triangles in java using nested loops?