Write a procedure that will compute and return the average of three numbers. The procedure should have three parameters of type double representing the numbers to be averaged. (for example the average of x, y and z is given by (x+y+z)/3.0)
please computer experts really need your help
Answers
Answered by
7
Answer:
The mean is the average of the numbers. It is easy to calculate: add up all the numbers, then divide by how many numbers there are. In other words it is the sum divided by the count.
Answered by
1
The following procedure computes and returns an average of three numbers of type double.
main()
{
double ;
printf("Enter three numbers:");
scanf("%lf %lf %lf",&,&,&);
double ;
printf("Average=%lf",);
}
#SPJ3
Similar questions