#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, 실수:%.3f\n", 1972, 1.168);

    /* 탈출 문자
    \n 줄바꿈
    \t 탭
    \\ 역슬래시 출력
    \' 작은따옴표 출력
    \" 큰따옴표 출력
    */
    
    printf("----문제1----\n");
    printf("이름\t나이\t키\n철수\t13세\t155.5cm\n");
    
    printf("----숙제----\n");
    printf("%d * %d = %d\n", 12, 5, 12*5);

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: