Java Program to sum N Postive numbers, Skip Negative Numbers.

Get input n and n integers, then compute the sum of positive integers

Sample Input 1:

5

6 7 2 -8 1

Sample Output 1:

16

Program or Solution

				
			
					
			
				
			

Program Explanation


Tech Events

Hackathon