개(10172)
주어진 예제처럼 출력하는 문제 4
문제
이렇게 강아지를 출력
입력
x
출력
|\_/|
|q p| /}
( 0 )"""\
|"^"` |
||_/=\\__|
단순히 println을 사용하는 방법
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("||_/=\\\\__|");
}
}
Last updated
Was this helpful?