#include <stdio.h>

int add(int a, int b){
    int c = a + b;
    return c;
}

void add2(int a, int b){
    printf("%d\n", a+b);
}

int minus(){
    int a = 100;
    int b = 2000;
    return b - a;
}

void print(){
    printf("이끼낀조약돌반블록\n");
    printf("이끼낀조약돌계단\n");
}

int main(){       //main은 마지막에 써야 함
    printf("%d\n",add(1,2));
    add2(5,995);
    printf("%d\n", minus());
    print();
}

Embed on website

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