My issue
i dont know how while concept is performing here
My code
#include <stdio.h>
int main(void) {
int t,i=1;
scanf("%d",&t);
while(i>=t)
{
int x;
scanf("%d",&x);
if(x>=t)
{
printf("yes");
}
else
{
printf("no");
}
i++;
}
return 0;
}
Learning course: Practice C
Problem Link: CodeChef: Practical coding for everyone