Course Registration | Problem - 47 | Beginner level | C language | CodeChef
Link to the problem statement: https://www.codechef.com/submit/COURSEREG Solution: #include <stdio.h> int main(void) { int t, n, m, k; scanf("%d", &t); while(t--) { scanf("%d %d %d", &n, &m, &k); if(m-k >= n) printf("Yes\n"); else printf("No\n"); } return 0; } Hope this will help you, if you want anything else leave a comment. Thank you