|
|
The_Funkmaster
from St. John's (Canada) on 2002-04-02 01:50 [#00154235]
Points: 16280 Status: Lurker
|
|
I know this is pretty simple, but I just don't know what it does... I need to know what the mod operator does... for example, if you had 90 mod 25, what would be the answer? Some help would be greatly appreciated!!!
|
|
xlr
from Boston (United States) on 2002-04-02 01:52 [#00154240]
Points: 4904 Status: Regular
|
|
no idea -- we didn't get that far in my comp sci 1 class. I know how to make a quiz in VB though.
|
|
The_Funkmaster
from St. John's (Canada) on 2002-04-02 01:53 [#00154243]
Points: 16280 Status: Lurker
|
|
yeah I'm doing an assignment, and I need to trace a program, and mod is used in it...
|
|
The_Funkmaster
from St. John's (Canada) on 2002-04-02 01:53 [#00154246]
Points: 16280 Status: Lurker
|
|
a quiz huh? hehe, visual basic is cool!!! :)
|
|
The_Funkmaster
from St. John's (Canada) on 2002-04-02 01:55 [#00154251]
Points: 16280 Status: Lurker
|
|
ah yes, the remainder... I think I've found it... :)
|
|
xlr
from Boston (United States) on 2002-04-02 02:25 [#00154288]
Points: 4904 Status: Regular
|
|
excellent. i hate programming. blah.
|
|
tunemx
from Budapest (Hungary) on 2002-04-02 03:11 [#00154351]
Points: 2144 Status: Webmaster | Show recordbag
|
|
mod is the remaining of the dividing. Like 10 /3 =3 (1 remained), so 10 mod 3 is 1.
So to answer your question, 90 mod 25 is 15.
|
|
Messageboard index
|