Good code is its own best documentation. As you're about to add a comment, ask yourself, 'How can I improve the code so that this comment isn't needed?' Improve the code and then document it to make it even clearer. Steve McConnell
Write program to find the sum of subarray within a one-dimensional array of numbers which has the largest sum.
No of Maximum value array: 3 0 to 0 0 to 1 0 to 2