Professional Documents
Culture Documents
Array Reflection 1
Array Reflection 1
Write program
1. Declare an double array with max 100 elements
2. Input an positive integer n that indicated the number of element of array
3. Input n elements of array
4. Display array has just been inputted
5. Calculate sum of all elements, sum of elements that has odd index, average elements at
index is a prime, average of element at odd index
II. Vit