
-----------------------------------
Jessica359
Tue Apr 08, 2008 1:07 pm

Arrays
-----------------------------------
Allo,

We have jsut been introduces arrays and its still kinda iffy. We have to make a program using arrays that lets teh user choose how many numbers they want, they input numbers and then it outputs the median. I'm not sure what calculation to use. 

I don't know if that makes any sense lol  :? 
thanks :)

-----------------------------------
Tallguy
Tue Apr 15, 2008 12:28 pm

RE:Arrays
-----------------------------------
come on jess

-----------------------------------
Nick
Tue Apr 15, 2008 2:14 pm

RE:Arrays
-----------------------------------
turing walkthrough

the median is the middle number so to find the middle of 10 you would divide it by 2 (10 div 2), the middle number of an array will be the number (after sorting) of the upper bound divided in half

-----------------------------------
Sean
Tue Apr 15, 2008 2:14 pm

Re: Arrays
-----------------------------------
Well, for now, read this Walkthrough  on [url=http://compsci.ca/v3/viewtopic.php?t=14333]Arrays

Edit: Oh, and the median is the middle number, so you will want to sort the numbers from least to greatest, or greates to least.
