$24
Objectives:
Create a static array.
Store values into an array.
Find a value from an array.
Question:
Write a program to take five integers as input from the user using for loop structure. Store the cube of each integer into an array. Finally display the following:
the original array (cube of the integers)
the odd integers from that array
integers in the reverse of the original array.
Sample Input:
1
2
8
13
19
Sample Output:
1
8
512
2197
6859
1
2197
6859
6859
2197
512
8
1
Submit only the cpp file into blackboard.