|
From: Scott S. <age...@co...> - 2004-06-22 21:00:15
|
It means this: If dividing the variable number by 10000 is equal to the variable number modulus 10, AND the variable number divided by 1000 modulus 10 is equal to the variable number divided by 10 modulus 10. Modulus is the remainder left over in division. PETER CAMPOS wrote: >greetings to all >please explain to me the if statement: > >if (((number/10000) == (number%10)) && (((number/1000)%10) == ((number/10) %10))) > >thanx >peter > > >______________ ______________ ______________ ______________ > ccny.cuny.edu > > > > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > |