Increase IQ | Problem - 49 | Beginner level | C language | CodeChef
Link to the problem statement: https://www.codechef.com/submit/INCRIQ
Solution:
#include <stdio.h>
int main(void) {
int x;
scanf("%d",&x);
if(x>=100 && x <= 169)
{
if(x+7 > 170)
printf("YES\n");
else
printf("NO\n");
}
return 0;
}
Hope this will help you, if you want anything else leave a comment.
Thank you
Comments
Post a Comment