Visual Basic, I need some help!!! | xltronic messageboard
 
You are not logged in!

F.A.Q
Log in

Register
  
 
  
 
(nobody)
...and 291 guests

Last 5 registered
Oplandisks
nothingstar
N_loop
yipe
foxtrotromeo

Browse members...
  
 
Members 8025
Messages 2613452
Today 5
Topics 127500
  
 
Messageboard index
Visual Basic, I need some help!!!
 

offline 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!!!


 

offline 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.


 

offline 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...


 

offline 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!!! :)


 

offline 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... :)


 

offline xlr from Boston (United States) on 2002-04-02 02:25 [#00154288]
Points: 4904 Status: Regular



excellent. i hate programming. blah.


 

offline 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