I am not able to understand the if condition in the below code

Below problem name is INDIVISIBLE. in the if condition it is just written a%i, but a%i equals what? How can it be left just like that?
NOTE: The code is correct and giving correct output.

include
using namespace std;

int main() {
int t;
cin>>t;
while(t–)
{
int a,b,c,i,arr[100];
cin>>a >>b >>c;
for (i =1;i<100;i++)
{
if((a%i)&&(b%i)&&(c%i))
{
cout<<i<<endl;
break;
}
else{
continue;
}
}
}
return 0;
}

the if condition is false if the output of the condition (i.e. a%i…) is equal to 0 otherwise the if condition is true

for example

if(1){
    cout<<"this condition is true";
}
if(0){
    cout<<"this condition is false";
}
if(1786){
    cout<<"this conditionis true";
}
if(-5626){
    cout<<"this condition is true";
}