+ 2
Clarity
So if I use math operators on My code will My code automatically perform bodmas rule or I will have to come up with an algorithm that will perform the bodmas rule?
2 Answers
0
The code will perform "bodmas" automatically (Assuming it is pemdas-like term)
0
bodmas seems a somewhat arbitrary rule when you learn it in school but it's actually a fundamental part of how arithmetic works, in particular it is a basic assumption in computer calculation, so yeah :)