#include<stdio.h>
void compare(int *p ,int *q){
if (*p<*q)
{
printf("\n%d is the maximum number.\n",*q);
}
else if (*p>*q)
{
printf("\n%d is the maximum number.\n",*p);
}
else
{
printf("\nBoth are equal number.\n",*p);
}
}
int main()
{
int num1 , num2;
printf("\n\tInput the first number : ");
scanf("%d",&num1);
printf("\n\tInput the second number : ");
scanf("%d",&num2);
printf("\n--------X--------------X---------------X------------\n");
compare(&num1 , &num2);
return 0;
}