티스토리 뷰
풀이 : java에서 \를 출력하려면 두번 작성해줘야지 출력이 가능하다
1
2
3
4
5
6
7
8
9
10
11
|
public class Main {
public static void main(String[] args) {
System.out.println("\\ /\\");
System.out.println(" ) ( ')");
System.out.println("( / )");
System.out.println(" \\(__)|");
}
}
|
마찬가지로 "를 출력하려면 앞에 \를 작성해줘야지 출력이 가능하다
1
2
3
4
5
6
7
8
9
|
public class Main {
public static void main(String[] args) {
System.out.println("|\\_/|");
System.out.println("|q p| /}");
System.out.println("( 0 )\"\"\"\\");
System.out.println("|\"^\"` |");
System.out.println("||_/=\\\\__|");
}
}
|