주어진 예제처럼 출력하는 문제 3
이렇게 고양이를 출력
x
출력
\ /\ ) ( ') ( / ) \(__)|
단순히 println을 사용하는 방법
public class Main { public static void main(String[] args) { System.out.println("\\ /\\"); System.out.println(" ) ( ')"); System.out.println("( / )"); System.out.println(" \\(__)|"); } }
Last updated 3 years ago
Was this helpful?