Current location - Training Enrollment Network - Mathematics courses - How to write the code of modular operator in C language? For example, write a 50% 100.
How to write the code of modular operator in C language? For example, write a 50% 100.
# Contains? & ltstdio.h & gt

int? Major (invalid)

{

int? Me? j;

while( 1)

{

Printf ("input? Powder? And then what? Split wood: ");

scanf("%d ",& ampI);

scanf("%d ",& ampj);

int? m? =? I % j;

printf("%d? %%? %d=%d\n ",I,? j,? m);

}

Return? 0;

}