Cognizant Interview Question

Program to reverse an array of 10 numbers