snehathapa193 snehathapa193
  • 16-02-2022
  • Computers and Technology
contestada

algorithm to find out average of 4 numbers​

Respuesta :

shuaiballie882
shuaiballie882 shuaiballie882
  • 16-02-2022

Answer:

answer = range(1,5)

print(AVG(answer))

Explanation:

python script

Answer Link
jujuuszaa
jujuuszaa jujuuszaa
  • 16-02-2022
As for averaging just four numbers, that's just a formula, say the numbers are a, b, c, d, then their average is simply x^ := (a + b + c + d)/4. This assumes you're talking about arithmetic average, i.e., the number x^ that, when replacing each of the values of which you compute the average, yields the same sum.
Answer Link

Otras preguntas

How could militarism lead to war?
A triangle with sides of lengths 16, 63, and 65 is a right triangle. A. True B. False
George borrowed $300 from a family member. He told the family member he would pay $50 each month for 6 months to pay it all back. Which expression would represe
-2(8w+13)+9w=-61 solve each equation for the given variable
what are the uses of oxygen?
which type of cell is lactobacillus
A 14.8 kg child sits in a 1.3kg swing
construct quadrilateral wxyz with wx yz so that wx=f and yz=3f
Why is Abraham called the father of all nations?
Simplify the expression (x^2 + 2x + 3)(x^2 – 2x – 2)