Write a program to find the average of given three numbers.
#inlcude<stdio.h>
#include<conio.h>
void main()
{
int A,B,C, Sum, Avg;
clrscr();
printf(:”Enter the numbers:”);
scanf(“%d%d%d”,&A,&B,&C);
Avg = (A+B+C)/3;
printf(“Average of thegiven numbers are = %d,Avg);
getch();
}

0 Comments
Have any query? Want any type of module?
Please comment it down and let me know.