home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
code_examples
/
librar
/
lefactor.c
< prev
next >
Wrap
Text File
|
1989-02-08
|
384b
|
18 lines
/*---------------------------------*/
/* */
/* LEFACTOR(X,X) */
/* */
/* Divides the second argument into*/
/* the first to see if it is a fac-*/
/* tor. If so, a zero is returned. */
/* */
/*---------------------------------*/
lefactor(a,b)
long a,b;
{
if (!(a%b))
return(0);
else
return(1);
}