Learning course: C for problem solving - 2
Problem Link: CodeChef: Practical coding for everyone
Feedback
// Update the code below to solve the problem
include <stdio.h>
int main()
{
int t;
scanf(“%d”,&t);
while(t--)
{
int N;
scanf("%d",&N);
if(((N%7)%2)==0)
printf("YES\n");
else
printf("NO\n");
}
}
what’s wrong in this code?