// Zorah Fung // June 25, 2014 // This program prints out a hexagon, boat, stop sign and hat // using ASCII characters // // Note: This program would get full external correctness // but is not "internally correct." This program lacks structure // and does not eliminate redundancy. Main is hard to read // and is not a good summary of the program. We want to avoid // non-blank printlns inside main. public class FiguresVersion1 { public static void main(String[] args) { System.out.println(" ______"); System.out.println(" / \\"); System.out.println("/ \\"); System.out.println("\\ /"); System.out.println(" \\______/"); System.out.println(); System.out.println("\\ /"); System.out.println(" \\______/"); System.out.println("+--------+"); System.out.println(); System.out.println(" ______"); System.out.println(" / \\"); System.out.println("/ \\"); System.out.println("| STOP |"); System.out.println("\\ /"); System.out.println(" \\______/"); System.out.println(); System.out.println(" ______"); System.out.println(" / \\"); System.out.println("/ \\"); System.out.println("+--------+"); } }