0
An array is not really needed.
Begin with a counter and accumulator.
Use a loop to have user enter a number to add, or zero to stop.
Add that number on to the accumulator (total).
Increment the counter if the number entered is not a zero.
Stop the loop when the number entered is a zero.
Divide the total by the counter to get the average.
0
what does that mean?
Anyway, I really need help with this.Please help
0
sounds like a homework problem :-)
-Mike G.