For this Question: Given two integers x and y, check if x can be converted to y by adding F(n) to x where F(n){n>=1} is defined as:- 1+3+9+27+81+. .3^n.<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>Ifpossible()</b> that takes the integer x and y as parameter.

Constraints:-
1<= x < y <= 10^9Return 1 if it is possible to convert x into y else return 0.Sample Input:-
5 7

Sample Output:-
0

Sample Input:-
3 16

Sample Output:-
1

Explanation:-
F(3) = 1 + 3 + 9 = 13
3 + 13 = 16, I have written this Solution Code: 
int Ifpossible(long x, long y){

long sum=y-x;
 long ans=0;
    long ch = 1;
    while(ans<sum){
        ans+=ch;
        if(ans==sum){return 1;break;}
        ch*=(long)3;
    }
    return 0;

}



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