Place your order now for a similar assignment and have exceptional work written by our team of experts, At affordable rates

For This or a Similar Paper Click To Order Now

public class SpaceNeedle {
public static final int SIZE = 4;
public static void main (String[] args) {
drawVerticleBars();
drawDoubleDOtsAndQuotes();
drawBackSlahesAndForwardSlashes();
drawVerticleBars();
drawModulo();
drawDoubleDOtsAndQuotes();
}
// prints the first four verticle bars
public static void drawVerticleBars() {
for (int line = 1; line <= SIZE; line++) { for (int space= SIZE * 3; space >= 1; space–)
System.out.print(” “);
System.out.println(“||”);
}
}
// Prints the dots for the top half and the quotes for the first half.
public static void drawDoubleDOtsAndQuotes() {
for (int dot = 1; dot<=SIZE; dot++) { for (int space = 3*(SIZE-dot); space > 0; space–) {
System.out.print(” “);
}
System.out.print(“__/”);
for (int space = 1; space < dot; space++) { System.out.print(":::"); } System.out.print("||"); for (int space = 1; space < dot; space++) { System.out.print(":::"); } System.out.println("__"); } // prints quotes for (int quotes = 0; quotes<1; quotes++) { System.out.print("|"); for (int space = 0; space < SIZE * 3; space++) { System.out.print("""""");

 

Place your order now for a similar assignment and have exceptional work written by our team of experts, At affordable rates

For This or a Similar Paper Click To Order Now


Leave a Reply

Your email address will not be published. Required fields are marked *