728x90
스타워즈 로고를 출력하는 문제입니다.
#include <iostream>
using namespace std;
int main()
{
cout << " 8888888888 888 88888" << endl;
cout << " 88 88 88 88 88 88" << endl;
cout << " 8888 88 88 88 88888" << endl;
cout << " 88 88 888888888 88 88" << endl;
cout << "88888888 88 88 88 88 888888" << endl;
cout << endl;
cout << "88 88 88 888 88888 888888" << endl;
cout << "88 88 88 88 88 88 88 88" << endl;
cout << "88 8888 88 88 88 88888 8888" << endl;
cout << " 888 888 888888888 88 88 88" << endl;
cout << " 88 88 88 88 88 88888888" << endl;
return 0;
}
'알고리즘' 카테고리의 다른 글
[C++] 백준 10170번 NFC West vs North (0) | 2019.09.22 |
---|---|
[C++] 백준 5339번 콜센터 (0) | 2019.09.22 |
[C++] 백준 5338번 마이크로소프트 로고 (0) | 2019.09.22 |
[C++] 백준 9613번 GCD 합 (0) | 2019.09.22 |
[C++] 백준 1197번 최소 스패닝 트리 (2) | 2019.09.22 |