Help me in solving PRACTICEPERF problem

My issue

which data structure to use

My code

#include <stdio.h>

int main(void) {
	int p1,p2,p3,p4 ;
	int t;
	int i,cnt=0;
	for(i=0;i<t;i++)
	{
	    scanf("%d%d%d%d",&p1,&p2,&p3,&p4);
	    if(p1>)
	}
}


Problem Link: PRACTICEPERF Problem - CodeChef

You just need 4 if statements to check if each of the input is greater than 9 or not.

It’s a basic question that can be done by using brute force algorithm.
You can simply check p1,p2,p3, and p4 are greater than or equal to 10. if it so, then simply count it. That count will be your answer.