Haha, sorry.
It does the same thing as the first which is when it calculates the average it adds the zero with it. So the average goes way down. I just want it to calculate any - or + numbers and...
Type: Posts; User: maximus20895
Haha, sorry.
It does the same thing as the first which is when it calculates the average it adds the zero with it. So the average goes way down. I just want it to calculate any - or + numbers and...
Still doesn't work :(
I switch the do{ with while (number != 0){ and deleted the while in the do :(
Stupid zero.
I have to compute the average in this program, but the average cannot consists of zero which ends the program. For example if I enter 1, 2, 3, -1, then 0 to exit, the average will be the sum (5) over...