문제
내가 작성한 코드
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int main() {
printf("***************\n* *\n* *\n* *\n***************");
return 0;
}
printf문을 하나만 쓰라길래 무지성으로 그냥 쫘아아아악 입력했다
이걸 바라신 게 맞는건지 의문이긴한데
이걸 바라신 거라면 한 문장 내에서 개행을 여러 번 하는 법을 알려주고 싶으셨던게 아니었을까
'C언어 > 문제은행' 카테고리의 다른 글
[3주차] "Hello, World!" in C (0) | 2023.04.19 |
---|---|
[2주차] Challenge - sorting and counting (0) | 2023.04.18 |
[2주차] 16진수 덧셈 (0) | 2023.04.18 |
[2주차] 10진수 정수 16진수 출력 (0) | 2023.04.18 |
[2주차] 사칙연산 (0) | 2023.04.18 |