#include <stdio.h>
int Add(int num1, int num2);
int Sub(int num1, int num2);
int Mul(int num1, int num2);
float Div(int num1, int num2);
int main(void)
{
int num1,num2;
int sum,sub,mul
float div;
printf("숫자를 입력하세요");
scanf("%d %d",&num1,&num2);
sum = Sum(num1, num2);
printf("Sum = %d\n",sum);
sub = Sub(num1,num2);
printf("Sub = %d\n",sub);
mul - Mul(num1, num2);
printf("Mul = %d\n",mul);
div = Div(num1,num2);
printf("Div = %f\n",div);
return 0;
}
int Add(int num1, int num2)
{
int z=0;
z = num1+num2;
return z;
}
int Sub(int num1, int num2)
{
int z = 0;
z = num1 - num2;
return z;
}
int Mul(int num1, int num2)
{
int z = 0;
z = num1 * num2;
return z;
}
float Div(int num1, int num2)
{
int z = 0;
z = num1 / num2;
return z;
}