Question: Create a Program that asks for 1 0 integers ( Use Arrays ) . Afterwards, display a navigation menu and perform the following: ( 1

Create a Program that asks for 10 integers (Use Arrays).
Afterwards, display a navigation menu and perform the following:
(1) Display the numbers
(2) Display it in reverse order
(3) Display the values of even indices (Oth,2nd,4th,6th,8th,...
2n)
(4) Display the values of odd indices (1st,3rd,5th,7th,9th,...
2n+1)
(5) Ask for an index k, then rotate array to the right.
(6) Ask for an index k, then rotate the array to the left.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!