Hello again,
on the basis of your hints, i have revised my code. I cannot use the boolean functions because i haven't studied them yet...
Here is what i have done so far, but there are some errors in the second part because, to be honest, after reading and reading again from my book how to call a fuction, i still haven't it clear

The program only return the result of the last couple of numbers.
I'm sure i'm making some stupid mistake...
/* Program that reads a pair of numbers and determines whether the second number is multiple of the first one */
#include <stdio.h>
#include <math.h>
int multiple ( int j, int z); /* function prototype */
int main( void ) /* function main begins program execution */
{
int num1, num2, x, y; /* declare variables */
for ( x = 1; x <= 5; x++ ){
printf( "Enter the first number:" ); /* prompt for input */
scanf_s("%d", &num1 ); /* read number from user */
if ( num1 == 0){
break;
printf( "\nBroke from loop because num1 must be greater than 0\n" ); /* break loop if num1 == 0 */
}
else {
printf( "Enter the second number:" ); /* prompt for input */
scanf_s( "%d", &num2 ); /* read number from user */
}
}
for ( y = 1; y <= x ; y++ )
if( multiple == 0){
printf( "%d is multiple of %d\n", num2, num1);
}
else {
printf( "%d is not multiple of %d\n", num2, num1 );
}
return 0;
}
int multiple ( int j, int z ) /* copy of the argment to function */
{
return z % j;
} /* end of multiple function */