program to find averag of Three number

program to find averag of Three number


#include<stdio.h>
 void main()
{
 int a,b,c,average;
 printf("Enter the no. : ");
 scanf("%d",&a);

 printf("Enter the no. : ");
 scanf("%d",&b);

 printf("Enter the no. : ");
 scanf("%d",&c);

 average=(a+b+c)/3;

 printf("averag of Three no. is : %d \n",average);

}
_____________________________________________________________________________
out put:-

No comments:

hia friends you are seeing my blogger thank's. Powered by Blogger.