Array size and elements by user input : <p>I want a program that asks first for the size of an array and next asks for the element. The size of the array is int and the stored values are double. Like this:</p>

<pre><code>How many numbers? 5 // 5 is user input
Please type the numbers:
1,111
4
11,45
21
3
The numbers in reverse order are:
3.0 21.0 11.45 4.0 1.111
</code></pre>

<p>My problem is, how to ask for the size and for the elements? Thanks in advance!</p>
