For this Question: An array A[] of size N is given to you that contains only positive integers. Your task is to print the sum and mean (floor value) of given numbers.

<b>Example</b>
An array is given: 1 2 3 4 8 12
The sum of the array is 30, and the mean is 30/6=5
Hence the output will be 30 5<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function:- <b>SumAndMean()</b> that takes the Array and the integer N as parameters.

<b>Constraints:- </b>
1 &le; N &le; 100
1 &le; A[i] &le; 100Print the Sum and the Mean of the array separated by a space.Sample Input 1:-
5
1 2 19 28 5

Sample Output 1:-
55 11

Sample Input 2:-
4
2 8 3 4

Sample Output 2:-
17 4

<b>Explanation:</b>
Test case 1: For an array of 5 elements, the sum is (1 + 2 + 19 + 28 + 5) = 55, mean is (1 + 2 + 19 + 28 + 5)/5 = 11. The mean is 11.
Test case 2: For an array of 4 elements, the sum is (2 + 8 + 3 + 4) = 17, and the mean is floor((2 + 8 + 3 + 4)/4) = 4. Mean is floor(17/4) = 4, I have written this Solution Code: class Solution {
public static void SumAndMean(int arr[],int N){
        int sum=0;
        for(int i=0;i<N;i++){
            sum+=arr[i];
        }
        System.out.print(sum + " " + sum/N);
        
    }

 } 
  , In this Programming Language: Java, Now tell me if this Code is compilable or not?