// Brett Wortzman // CSE142 // Section: ZZ // TA: Grace Hopper // // Prints out two diamonds and one X. // // DEVELOPMENT NOTES: // (These notes would not be in your program's comments. They are here // to help you understand important topics or elements of this code.) // // First attempt at writing this program. // // Note the \ to create escape sequences and the blank lines between // "chunks" of the code. // // This program behaviors correclty, but has very poor style. It has // redundant code and no structure, and main is not a concise summary // of the program behavior.This code would earn only about half credit // on a programming assignment, despite producing correct output. // public class Figure1 { 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(); System.out.println("\\ /"); System.out.println(" \\ /"); System.out.println(" \\/"); System.out.println(" /\\"); System.out.println(" / \\"); System.out.println("/ \\"); } }