like one person will read 113 and other 90.
we have to print the max so 113 should be the output but my code is showing 90
like one person will read 113 and other 90.
we have to print the max so 113 should be the output but my code is showing 90
@akash_281 you are choosing incorrect range for end, initialize it with sum of all a[i].
more mistakes: