Apples and Oranges | Problem - 14 | Beginner level | C language | CodeChef
Link to the problem statement: https://www.codechef.com/submit-v2/APPLORNG Solution: #include <stdio.h> int main(void) { int x, a, b, t; scanf("%d %d %d", &x, &a, &b); t = a + b; if( x >= t ) printf("YES"); else printf("NO"); return 0; } Hope this will help you, if you want anything else leave a comment. Thank you