#include<stdio.h>
int fun(int a , int b)
{
int sum;
sum = a + b + 6;
return sum;
}
int main()
{
int a;
int b;
int sum;
printf("please enter two numbers:");
scanf("%d%d",&a,&b);
sum = fun(a,b);
printf("sum=%d\n",sum);
return 0;
}
#include<stdio.h>
int fun(int a , int b)
{
int sum;
sum = a + b + 6;
return sum;
}
int main()
{
int a;
int b;
int sum;
printf("please enter two numbers:");
scanf("%d%d",&a,&b);
sum = fun(a,b);
printf("sum=%d\n",sum);
return 0;
}