#include <stdio.h>
int Add(int num1, int num2){
    return num1+num2; // 13
}

int main() {
    int result;
    result = Add(3, 4); // 함수에서 return한 값이 오는 위치
    printf("덧셈 결과1: %d \n", result);
    result = Add(5, 8);
    printf("덧셈결과2: %d \n", result);

    // 덧셈식 1개 => 덧셈 연산 함수     // 덧셈식 2개
    a(~~~~)+b a*b b*c a/d a/b
    // 곱셈식 2개 => 곱셈 연산 함수
    // 나눗셈식 3개 => 나눗셈 연삼 함수
    return 0;
}

Embed on website

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