// This program produces an ASCII art drawing of a tapestry. // // Notice the use of a for loop in the drawBody method. public class Tapestry0 { public static void main(String[] args) { drawFringe(); drawBody(); drawFringe(); } // Prints the fringe that appears at the top and bottom of the tapestry. public static void drawFringe() { System.out.println("#================#"); } // Prints the middle, or body, of the tapestry. public static void drawBody() { for (int line = 1; line <= 8; line++) { System.out.println("|<>............<>|"); } } }