#include<stdio.h>
#include<conio.h>
void main()
{
float add(float,float);
float a,b,sum;
printf("enter the value of a and b\n");
scanf("%f%f",&a,&b);
sum=add(a,b);
printf("the sum of a and b is %f",sum);
getch();
}
float add(float aa,float bb)
{
float sum;
sum=aa+bb;
return sum;
}
0 Comments:
Post a Comment