Help me in solving CSCP11A problem

My issue

Explain the previous program if conditions

My code

// The code below is incorrect. Debug this code to solve this problem

#include <stdio.h>
#include <stdlib.h>

int main() {
    int t;
    scanf("%d", &t);
    for (int i = 0; i < t; i++) {
        int A, B, C;
        scanf("%d %d %d", &A, &B, &C);
        int total_score = A + B + C;
        int minimum_score = A;
        if (B < minimum_score) {
            minimum_score = B;
        }
        if (C < minimum_score) {
            minimum_score = C;
        }
        if (total_score >= 100 && minimum_score >= 10) {
            printf("YES\n");
        } else {
            printf("NO\n");
        }
    }
    return 0;
}

Learning course: C for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

@reddy1984
U have to write pass and fail instead of yes and no.