Help me in solving CSJ14A problem

My issue

the code running is properly but the submission answer
is wrong can any one say the solution

My code

import java.util.Scanner;

class Codechef
	public static void main (String[] args)
		Scanner read = new Scanner(;
		int t = read.nextInt();
		for(int i=0; i<t; i++)
		// #Update your code below this line to solve this problem
    		int n = read.nextInt();
    		int m = read.nextInt();
    		int k = read.nextInt();
    		if(n<=m ||k>m){
    		else  {

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

Your logic is not right.
u have to find the minimum number of days required to finish n slices which will be d= n/k;
and if n%k!=0 then add one more to d .
Then compare it with m if m>=d then print yes
else print no.