Coding Test/BaekJoon

[BAEKJOON] 10171. 고양이

Changun An 2021. 11. 27. 21:13
반응형

| 10171. 고양이

Category :

입출력과 사칙연산

Title :

10171. 고양이

Question :

아래 예제와 같이 고양이를 출력하시오.

\    /\
 )  ( ')
(  /  )
 \(__)|

Condition :
Input
없음

Output
고양이를 출력한다.

Code :

#include<iostream>
int main(){
std::cout<<"\\    /\\"<<std::endl;
std::cout<<" )  ( ')"<<std::endl;
std::cout<<"(  /  )"<<std::endl;
std::cout<<" \\(__)|"<<std::endl;
    return 0;
}

* Point :

특수문자 출력 시 유의하여 출력한다.

 

Baekjoon :

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

 

10171번: 고양이

아래 예제와 같이 고양이를 출력하시오.

www.acmicpc.net

Github :

https://github.com/Anchangun/BaekJoon/tree/main/Question/Print/10171.%20%EA%B3%A0%EC%96%91%EC%9D%B4

 

GitHub - Anchangun/BaekJoon

Contribute to Anchangun/BaekJoon development by creating an account on GitHub.

github.com

 

반응형