It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration. E. W. Dijkstra
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