This demo creates an array with ten elements and uses a for loop to go through each item and display them.
Output: