My issue
i am failing test what is mistake
My code
#include <stdio.h>
int main() {
int testcase,a,b,sum;
printf("enter the number of test cases");
scanf("%d",&testcase);
sum=0;
for(int i=0;i<testcase;i++)
{
scanf("%d %d",&a,&b);
sum=a+b;
if(sum>6)
{
printf("\nYES");
}
else
{
printf("\nNO");
}
printf("\n");
}
return 0;
}
Problem Link: GDTURN Problem - CodeChef