-
Notifications
You must be signed in to change notification settings - Fork 1
/
Acrostic.java
46 lines (35 loc) · 936 Bytes
/
Acrostic.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
public class ComplexFigureRay {
public static void main(String[] args) {
topMethod();
bottomMethod();
spaceMethod();
bottomMethod();
plusMethod();
spaceMethod();
spaceMethod();
topMethod();
stopMethod();
bottomMethod();
spaceMethod();
topMethod();
plusMethod();
}
public static void topMethod(){
System.out.println(" ______ ");
System.out.println(" / \\ ");
System.out.println("/ \\");
}
public static void bottomMethod(){
System.out.println("\\ / ");
System.out.println(" \\______/ ");
}
public static void spaceMethod(){
System.out.println();
}
public static void plusMethod(){
System.out.println("+--------+");
}
public static void stopMethod(){
System.out.println("| STOP |");
}
}