게시글
질문&답변
2022.11.10
2:28초 질문입니다.
#include void display(char cr, int lines, int width); int main() { char c; int rows, cols; while (1) { scanf("%c %d %d", &c, &rows, &cols); display(c, rows, cols); if (c == '\n') break; } return 0; } void display(char cr, int lines, int width) { int row, col; for (row = 1; row
- 0
- 2
- 284
질문&답변
2022.11.09
2:09초 디버깅 해보는데 도와주세요
#include void display(char cr, int lines, int width); int main() { char c; int rows, cols; while (1) { scanf("%c %d %d", &c, &rows, &cols); display(c, rows, cols); if (c == '\n') break; } return 0; } void display(char cr, int lines, int width) { int row, col; for (row = 1; row
- 0
- 2
- 271