Help me in solving GDTURN problem

My issue

My code

#include <stdio.h>

int main(void) {
	// your code goes here
	int X,Y,t;
	scanf("%d %d",&X ,&Y);
	for(int i=0;i<=t;i++)
	{
	if(X+Y> 6)
	{
	    printf("yes \n");
	}
	else
	{
	    printf("no \n");
	}
	}
	return 0;
}


Problem Link: GDTURN Problem - CodeChef

@raatrani
first scan t then inside t loop scan x and y then check conditions