Answers off by .5!! Help!!

I'm finding the median, and upper and lower quartiles from a file inputted by the user. Unfortunately, I'm .5 higher on all three values. Below is my code, can anyone help??

1
2

Last edited on
Topic archived. No new replies allowed.