forked from kbacigalupi/CSC120-A5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pants.java
30 lines (28 loc) · 986 Bytes
/
Pants.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
/*
* Pants class (template)
* Assignment 5: Bringing it All Together
* @author R. Jordan Crouser + CSC120 (Fall '22))
* @version 13 October 2022
*/
public class Pants {
/*
* Displays pants made out of ascii characters
*/
public void display() {
//System.out.println("Pants?");
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(" ''*-.,__/|\\__,.-*'' ");
}
/* main method (for testing) */
public static void main(String[] args) {
Pants myPants = new Pants();
myPants.display();
}
}