Write a program in C to find the average of N numbers ?
e average of N numbers
program no :30
purpose : read and print th
#include<"stdio.h">
#include<"conio.h">
main ()
{
int i,n, num[100];
float avg,findavg();
scanf("%d", &n);
readnum(num,n);
avg=findavg(num,n);
printf("Avg : %f", avg);
getch();
}
readnum(temp,n)
int temp[],n;
{
int j;
for(j=0;j
}