boubosolomon373 boubosolomon373
  • 03-02-2021
  • Computers and Technology
contestada

What is the alogarithm for solving the average of five numbers

Respuesta :

Zezima
Zezima Zezima
  • 03-02-2021

Answer:

Start a loop

Ask for the user for a value

Add the value to a running sum

At end of loop, divide the running sum by 5 (or the total number of numbers entered by the user).

Answer Link

Otras preguntas

Need answer please and this a part 1 to this math hw spam
Evaluate 4(a^2 + 2b) - 2b when a = 2 and b = –2.
Once Henry's regiment defeats the Confederate soldiers, they…
8. A steel ball rolls from rest down a ramp with an acceleration of -3 m/s/s. What is its velocity after rolling for 5 s? -3 m/s B. 5 m/s C. -15 m/s D. 50 m/s
find AC in the figure above with Pythagoras' theorem​
Your friend claimed she has a bag of 30 coins containing nickels, dimes and quarters. The total value of the 30 coins is $2. There are twice as many nickels as
What is the domain of the relation?
Which part of photosynthesis uses carbon dioxide?
Find five consecutive integers such that: “The sum of the first and 3 times the fourth is equal to 39 less than twice the sum of the second, third, and fifth.”
plz help, i’ve been stuck on this question and i’ve tried so many times you have to find the missing variables