#include <iostream> using namespace std; int main(void) { int row, col; cin >> col >> row; for(int i = 0; i < row; i++) { for(int j = 0; j < col; j++) { cout << "*"; } cout << "\n"; } return 0; } | cs |
'Programmers > Level 1' 카테고리의 다른 글
[프로그래머스 1] 실패율 (C/C++) (0) | 2020.02.28 |
---|---|
[프로그래머스 1] x만큼 간격이 있는 n개의 숫자 (C/C++) (0) | 2019.10.19 |
[프로그래머스 1] 예산 (C/C++) (0) | 2019.10.19 |
[프로그래머스 1] 행렬의 덧셈 (C/C++) (0) | 2019.10.19 |
[프로그래머스 1] 핸드폰 번호 가리기 (C/C++) (0) | 2019.10.19 |