There were two other variation which I completed but I am confused with this one:
Write a method for each triangle variation. Use nested for loops to draw the triangles.
Variation 3:
/** Precondition: width is an odd number >1*/
public void diamond (int width)
{
}
if width = 7, the output should be:
*
***
*****
*******
*******
*****
***
*