Help me in solving ATTENDU problem

My issue

i cant understand the question please help me

My code

#include <stdio.h>

int main(void) {
    int t,sum=0;
    scanf("%d",&t);
    while(t--)
    int N;'
    scanf("%d",&N);
    int
	return 0;
}


Problem Link: ATTENDU Problem - CodeChef

@klu2300030660 In the given problem, we have to find if attendance percentage is greater than or equal to 75% or not.

We have been given the record for N initial days. For the second line of input, we can take it as a string and find the number of ‘1’ denoting that chef attended that many classes out of N.

Now, we find the percentage value of total classes attended by chef ( assuming he will attend all classes after initial N days) and find if it satisfies the condition or not.

Here is my code for reference.

# cook your dish here
for _ in range(int(input())):
    n=int(input())
    b=input()
    c=b.count('1')
    if(((c+(120-n))/120)>=0.75):
        print('YES')
    else:
        print('NO')