Help me in solving LBJ17 problem

My issue

My code

// Update the code below to solve this problem
import java.util.Scanner;

class Codechef
{
	public static void main (String[] args)
	{
		Scanner read = new Scanner(System.in);
		
		int t = read.nextInt();
		for(int i=0; i<t; i++)
		{ 
    		int x = read.nextInt();
    		int y = read.nextInt();
    		   int fchef = (x/10)+1;
	           int fchefina = (y/10);
    		int dist= Math.abs(fchefina - fchef);
    		System.out.println(dist);
    		
		}
		
	}
}

Learning course: Solve Programming problems using Java
Problem Link: CodeChef: Practical coding for everyone

@tusharsaxena20
u have to perform the ceiling division of x and y with 10 and then print their absolute difference.
like for 44 and 45 answer should be 0 but your code will give 1 as answer