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

Which statement about race relations in the North and South after Reconstruction is true? A. The South became integrated; the North remained segregated. B.
What is the safest way to invest money?
Is 4/8 bigger than 4/6
PLEASE HELP! DUE TONIGHT! Find each function value for the given function rule. a. f(7) if f(x) = 5x b. f(9) if f(x) = x + 13 c. f(4) if f(x) = 3x - 1
The rapid westward migration caused by the discovery of gold in California led directly to
In which hemisphere is Asia mostly located? A. Eastern Hemisphere B. Western Hemisphere C. Southern Hemisphere D. Southwestern Hemisphere
If you see a diseased plant, it is most likely in the _____ stage of its life cycle. a. adult B: death C: growth D: beginning
Karangan kepentingan memilih rakan sebaya yang baik
We use the magma of the Earth to heat buildings with geothermal energy . True False < Check my answer ~
What is the average of 36 and 83 ?