I'm not sure why you chose to duplicate your thread in the C forum, but a mod will take care of that.
Upon closer inspection of the code, I noticed that the tally array has some problems. The size...
Type: Posts; User: whiteflags
I'm not sure why you chose to duplicate your thread in the C forum, but a mod will take care of that.
Upon closer inspection of the code, I noticed that the tally array has some problems. The size...
I recognized two mistakes very quickly. About your median function, you calculate (x + y) / 2. This expression yields an integer which is then converted to a double for the return value. If you want...