My issue
i have some doubt in the problem ,can anyone please help me…
My code
#include <stdio.h>
int main(void) {
int t;
scanf("%d", &t);
while(t--)
{
int n,a,b,c;
scanf("%d %d %d %d",&n,&a,&b,&c);
if(a+b>=n && b>=n)
{
printf("YES\n");
}
else
{
printf("NO\n");
}
}
return 0;
}
Learning course: Level up from 1* to 2*
Problem Link: Two Dishes Practice Problem in Level up from 1* to 2* - CodeChef