For this Question: Given a number N your task is to print its first two digits in reverse order. For eg:- If the given number is 123 then the output will be 21.<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>firstTwo()</b> that takes integer N argument.

Constraints:-
111 <= N <= 9999

Note:- It is guaranteed that the given number will not contain any 0.Return the first two digits of the given number in reverse order.Sample Input:-
3423

Sample Output:-
43

Sample Input:-
1234

Sample Output:-
21, I have written this Solution Code: static int firstTwo(int N){
    while(N>99){
        N/=10;
    }
    int ans = (N%10)*10 + N/10;
    return ans;
}

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