### My issue

I am getting the wrong answer for this solution. Where I am doing wrong?

### My code

```
// Update the code below to solve this problem
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int X, Y;
cin>>X>>Y;
if(X>0&& X<=10){
int x = Y-10;
cout<<abs(x/10)<<endl;
}
else if (X>10 && X<=20){
int x = Y-20;
cout<<abs(x/10)<<endl;
}
else if (X>20 && X<=30){
int x=Y-30;
cout<<abs(x/10)<<endl;
}
else if (X>30 && X<=40){
int x=Y-40;
cout<<abs(x/10)<<endl;
}
else if (X>40 && X<=50){
int x = Y-50;
cout<<abs(x/10)<<endl;
}
else if (X>50 && X<=60){
int x=Y-60;
cout<<abs(x/10)<<endl;
}
else if (X>60 && X<=70){
int x=Y-70;
cout<<abs(x/10)<<endl;
}
else if (X>70 && X<=80){
int x=Y-80;
cout<<abs(x/10)<<endl;
}
else if (X>80 && X<=90){
int x=Y-90;
cout<<abs(x/10)<<endl;
}
else if (X>90 && X<=100){
int x=Y-100;
cout<<abs(x/10)<<endl;
}
}
return 0;
}
```

Learning course: Solve Programming problems using C++

Problem Link: CodeChef: Practical coding for everyone