A quick demo showing how to:
1.
Create an array with a user specified number of elements
2.
Get user inputs to each array element to initialise using a while loop.
3.
Using the values from the array using a while loop
Also explains how to achieve the same with arrays of other data types like double and String.
Источник: rutube.ru