write any one C program for the following .
1)To find the average of three numbers
Answers
Answered by
2
Answer:
Explanation:
C program to compute the average of three given numbers;
#include <stdio.h>
#include <conio.h>
void main()
{
int n1,n2,n3;
float avg;
clrscr();
printf("\nENTER THREE NUMBERS: " );
scanf("%d %d %d",&n1,&n2,&n3);
avg=(n1+n2+n3)/3;
printf("\nAVERAGE: %0.2f",avg);
getch();
}
Please Mark as BRAINLIEST
Similar questions