-->

program to get sum of three nos.



// program to get sum of three nos
#include<stdio.h>
#include<conio.h>
void main()
{
float a,b,c;
float sum;
printf(“enter nos. for a,b and c\n”);
scanf(“%f%f%f”,&a,&b,&c);
sum=a+b+c;
printf(“the sum is=%f\n”,sum);
getch();
}