Here is the program with Single Dimension Array to find out sum of the elements in Single Dimension Array.
Here is the example for finding out the Maximum Value from a Single Dimension Array. Here we have an array of 7 elements and founded
Array is a collection of elements with similar data type. eg. if you want to store marks of 100 students then array is better option.