1. Self Programming Test
Time: 1.30 / Program Name: Array_opt.cpp
Write a program which input an array of 10 integers from the user and
ask for the operation to be perform on that array
a. Sum of all numbers in the array
b. Average of all numbers in the array
c. Search any number in the array
d. Show the square of any element by asking index
e. Show the Cube of any element by asking index
f. Show the maximum number
g. Show the minimum number
h. Show all even numbers
i. show all odd numbers
j. Show array in reverse order
Note:
1: Result color must be different (any other color)
2: Program should not stop until user needs to quit
3: Use better code conventions and style for readability