My issue
My code
// Update the code below to solve this problem
#include <stdio.h>
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int X,Y;
scanf("%d %d \n",&X,&Y);
if(X > Y)
printf("%d \n",X-Y);
else if(X < Y)
printf("%d \n",Y/10-X);
else
printf("%d \n",X*Y);
}
return 0;
}
Learning course: Solve Programming problems using C
Problem Link: CodeChef: Practical coding for everyone