Computer Science, asked by Ankitagond, 1 year ago

Task:- to find averge of three numbers.​

Answers

Answered by sarbani15
0

Any three numbers?

Let's take 1, 2 and 3

Average =

Sum of all numbers/Total number of numbers.

Average = 1+2+3/3

= 6/3

=2

Thus, the average of 1, 2 and 3 is 2.


Ankitagond: please write step by step
sarbani15: as you mentioned any three numbers.. i choosed 1,2 and 3
sarbani15: so, the formula of average is -
sarbani15: sum of all numbers/ total number of numbers
sarbani15: which means- u have to sum up all the numbers(in the numerator part) and how many numbers are there? 3 numbers. right? so write 3 as denomenator
sarbani15: now add 1+2+3 = 6
sarbani15: 6/3
sarbani15: 2 is the ans
Answered by krishnagond671
0
I HOPE IT MAY BE HELPFUL



THANKS..............
Attachments:
Similar questions