코딩테스트/프로그래머스 - LV 1
[프로그래머스] 직사각형 별찍기
웅드
2024. 2. 9. 17:07
- 풀이
#include <iostream>
using namespace std;
int main(void) {
int a;
int b;
cin >> a >> b;
for(int i=0; i<b; i++){
for(int j=0; j<a; j++){
cout << "*";
}
cout <<endl;
}
return 0;
}
반응형