The Average Of These Two Numbers. Average of two numbers is given by the sum of the two numbers divided by two. 24 55 17 87 100 283 and divide by 5 to get 566.
In other words it is the sum divided by the count. Lets call our numbers a b and c. Average 10203040505 1505 30.
C b 6 a b 4 c - a 2.
Where the sum is the result of adding all of the given numbers and the count is the number of values being added. The average of two of these numbers is 56. Int main int num1 num2. The equation below is one of the more commonly understood definitions of the average.
