public static int positiveSum(int[] nums) {
		int sum = 0; // Initialise the sum as 0
		
		for (int num : nums) { // For each element in nums as num:
			if (num > 0) { // If num is positive:
				sum += num; // Add num to the sum
			}
		}
		
		return sum; // Return the sum
	}