출력에 보이는 개 모양의 이미지를 만드는 문제입니다.
#include <iostream>
using namespace std;
int main(int argc, char * argv[])
{
cout << "|\\_/|" << endl;
cout << "|q p| /}" << endl;
cout << "( 0 )\"\"\"\\" << endl;
cout << "|\"^\"` |" << endl;
cout << "||_/=\\\\__|" << endl;
return 0;
}
'알고리즘' 카테고리의 다른 글
[C++] 백준 11718번 그대로 출력하기 (0) | 2019.03.05 |
---|---|
[C++] 백준 10718번 We love kriii (0) | 2019.03.05 |
[C++] 백준 7287번 등록 (0) | 2019.03.04 |
[C++] 백준 1001번 A-B (0) | 2019.03.04 |
[C++] 백준 1000번 A+B (0) | 2019.03.04 |