5
Enter the elements of array
5 9 -13 8 -1
The Maximum sum Would be
21
Enter the Size of the Array
7
Enter the elements of array
13 9 12 -19 17 -91 10
The Maximum sum Would be
44