Please yar mujay koi yeh C++ ka source code da day... Assignment ye ha..

Write a program to input 20 values and then display the following……
1. The maximum value.
2. The minimum value
3. Index No. of maximum value and minimum value
4. Sum of maximum value and minimum value
5. Sum of 1st 20 values
6. Product of last 5 values
7. Last 10 values in same order
8. Last 12 values in reverse order
9. List of even values
10 List of prime values