Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » I Learn Some Basic C++!
Re: I Learn Some Basic C++! [message #392008 is a reply to message #392004] Tue, 23 June 2009 18:27 Go to previous messageGo to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma:
General (4 Stars)
raven wrote on Tue, 23 June 2009 18:06

It's not just that there's multiple variables. It's that you have to follow the order of operations when doing any mathematical calculation, and brackets are part of said order of operations

BEDMAS - Brackets/Exponents/Division/Multiplication/Addition/Subtraction

ok that makes since thanks for that tip
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Your daily commute to work!
Next Topic: Virus
Goto Forum:
  


Current Time: Thu Nov 28 21:19:17 MST 2024

Total time taken to generate the page: 0.01181 seconds