I am still kind of new to programming, and I need some help for school. I have three questions.1 I need to fill and array will double values that are entered from the keyboard, how do I fill the arrays and then stop at a flag value(I was thinking of using a do while loop). 2. How can I find the median of that array after it has been filled and determined to have an even or odd amount of numbers in it? 3. Still using the same array, how do I make it so that it is ordered in ascending order. I know this is a long post, but any and all help is greatly appreciated.