Venkatesh Macha

Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

1 Response

  1. Eniya Elango says:

    Write a program to find the sum of positive numbers in an array.

    Input Format:

    Input consists of n+1 integers. The first integer corresponds to ‘n’ , the size of the array. The next ‘n’ integers correspond to the elements in the array. Assume that the maximum value of n is 15.

    Output Format:

    Refer sample output for details.

    Sample Input :







    Sample Output :

    The sum of the positive numbers in the array is 19

Leave a Reply