For a long time it puzzled me how something so expensive, so leading edge, could be so useless. And then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match. Bill Bryson
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