enter N elements and C-d on a separate line: Array elements: 1 2 3 4 5 Array elements reversed: 5 4 3 2 1