lab3/ex1/ex1.c
// Count the numbers in the list that are divisible by base(N)
Count the numbers in the list that are divisible by base(N)
Count the numbers in the list that are divisible by base ( N )
size_t countDiv(node* head, int8_t base)
{
	int count = 0;
	for(node *pNode = head; pNode != NULL; pNode = pNode->next)
	if(pNode->data % base == 0) ++count;
	return count;
}
size_t countDiv ( node * head , int8_t base ) { int count = 0 ; for ( node * pNode = head ; pNode != NULL ; pNode = pNode -> next ) if ( pNode -> data % base == 0 ) ++ count ; return count ; }
Count the numbers in the list that are divisible by base(N)
Count the numbers in the list that are divisible by base ( N )