My issue
My code
#include <stdio.h>
int main(void) {
int t=4,15,10,1,50;
if(t<=10)
{
printf("yes");
}
else
printf("no");
// your code goes here
return 0;
}
Problem Link: TOP10 Problem - CodeChef
#include <stdio.h>
int main(void) {
int t=4,15,10,1,50;
if(t<=10)
{
printf("yes");
}
else
printf("no");
// your code goes here
return 0;
}
Problem Link: TOP10 Problem - CodeChef
@rajneeshkushw2
u have to take input of t and then in t loop u have to take input of n then check for the condition.
like this
include
using namespace std;
int main() {
// your code goes here
int t;
scanf(“%d”,&t);
while(t–)
{
int n;
scanf(“%d”,&n);
if(n<=10)
printf(“yes\n”);
else
printf(“no\n”);
}
return 0;
}