// Program for finding the average of three numbers //
#include<stdio.h>
#include<conio.h>
void main()
{
float a,b,c,avg;
printf("Enter the three numbers\n");
scanf("%f%f%f", &a,&b,&c);
avg=(a+b+c)/3;
printf("Average of three numbers is:- %f", avg);
getch();
}


Comments
Post a Comment