#include <stdio.h>
int main() {
//printf 출력 함수
int add = 3 + 7;
printf("%d\n", add);
printf("%d + %d = %d\n", 3, 7, 3 + 7);
printf("정수:%d\t실수:%.2f\n", 2025, 5.33);
/*탈출 문자
\n 줄바꿈
\t 탭 간격
\\ 역슬래시 출력
\' 작은따옴표 출력
\" 큰따옴표 출력
*/
printf("----문제1----\n");
printf("이름\t나이\t키\n철수\t13세\t155.5cm\n");
printf("----문제2----\n");
printf("%d * %d = %d\n", 12, 5, 12 * 5);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: