백준 고양이 출력(10171)

지환·2021년 12월 17일
0

백준(C)

목록 보기
2/47
post-thumbnail

https://www.acmicpc.net/problem/10171

이와 같이 고양이를 출력하는 문제다. 이스케이프 시퀀스(이스케이프 문자)만 유의하여 제출하면 되기 때문에 크게 어려울 건 없다.

#include <stdio.h>

int main() {
    printf("\\    /\\\n");
    printf(" )  ( ')\n");
    printf("(  /  )\n");
    printf(" \\(__)|\n");
    return 0;
}

profile
아는만큼보인다.

0개의 댓글