Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 seems like a stupid question- what is the syntax for a modulus?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
x-ecutioner




PostPosted: Fri Feb 06, 2009 10:32 pm   Post subject: seems like a stupid question- what is the syntax for a modulus?

argh headache =_= i cant really remember either i havent done turing in a while
anyways what is the syntax for a modulus?
im used to php and that is the percentage symbol %
will i have to result to other methods of mathematics?
any ideas?
thanks.
Sponsor
Sponsor
Sponsor
sponsor
CodeMonkey2000




PostPosted: Fri Feb 06, 2009 10:37 pm   Post subject: RE:seems like a stupid question- what is the syntax for a modulus?

You use mod. Ie. a mod b is the modulo of a and b.
x-ecutioner




PostPosted: Fri Feb 06, 2009 10:59 pm   Post subject: RE:seems like a stupid question- what is the syntax for a modulus?

ooh dang.
alright thanks very much:)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: