#include <stdio.h>

int main() { 

    //실습1//
    /* printf("5*3/2\n"); 
    printf("7*7*3.14\n"); 
    printf("4.5*4.5*4.5\n"); */ 

    //실습3// 
    /* printf("%d\n" , 5+3);
    printf("%d\n" , 7*2-4);
    printf("%d\n" , 15/2); */

    //실습4
    printf("5+3=%d\n" , 5+3);
    printf("7*2-4의 결과는 %d입니다.\n" , 7*2-4);
    printf("15나누기 2의 결과는 %d입니다.\n" , 15/2);
    
    
    return 0;
}

Embed on website

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