write function that accepts 3number of type float as arguments and retutn the average of three numbers . write program which use this function to find the average of three number using c++
Answers
Answered by
2
Answer:
How do you find the average of 3 numbers in C++?
sum = num1 + num2 + num3.
The average value is calculated by the sum of variables divided by the number of variables. Here, the number of variables is three. So, average = sum / 3 calculates the average value.
Similar questions