C language_Error:expected ')' before ';' token : <p>Just in case you need to know what the program I'm working on -It's a homework question:A five-digit number is entered through the keyboard. Write a function to obtain the reversed number and another function to determine whether the original and reversed numbers are equal or not. Use this functions inside the main() and provide the necessary arguments to get a result.</p>

<p>My code is:</p>

<pre><code>#include &lt;stdio.h&gt;

int Reversed(int rev);
int Equality(int equ);

int main (){
    int num,result;
    printf("Please enter a number that has five digits:");
    scanf("%d", &amp;num);
    result=Equality(num);
    return 0;
}

int Reversed(int num){
int number=num;
int rev=0;
int digit;
do{ 
    digit=num%10;
    rev=rev*10+digit;
    num=num/10;
}
while  ((num&gt;0)); 
return rev; 
}

int Equality(num){
    int reve,numb;
    if ( (numb=num)== (reve=Reversed(num);) )
printf("number equals the reversed number");
else 
printf("number doesn't equal the reversed number");
}
</code></pre>
