counter program in c language

C
int main(){
	
	int a  ;
	int i ;
   printf("");
   scanf("%d",&a);
	
	for(i = 0; i < a; i++)
	{
    //something that you wanna worf, for example, the "if" variable...
    
    
    
    }
}
Source

Also in C: