Write a program that gets 5 integer values into an array and then displays the values of the elements of the array in reverse order.
Write a program that gets 5 integer values into an array and then displays the values of the elements of array in reverse order. So let’s Write Code: Let’s build logic First: Algorithm for code: Step 1: Start Step 2: Declare an array and variable i. Step 3: Take inputs from user. Step 4: Set…