HINT: You have to think.
Recommended Answers
Jump to Post— Ancient Dragon 5,24326. Not much thought needed. 6+2x10 = 6+(2x10) = 26
Jump to Post— Ancient Dragon 5,243In USA any 5th grade student should have known the correct answer. And Shame on anyone who is a programmer and doesn't know it.
Jump to Post— sergent 526+2x10 is 6+ 2x^10 and it is already in simplified form :)
Jump to Post— ilovec++ 8
Yup BODMAS does work.
You see, according to it, in 6+2x10, you first multiply 2 and 10 and get 20, then add 6 and get 26, which is the correct answer.
By the way, we're also taught …
Jump to Post— VernonDozier 2,218There's nothing misleading about any of it. At some point before any of us were born someone made a bunch of rules for operator precedence in algebra and anyone who wants to be able to communicate effectively follows them. Whether it's PEMDAS, BOMDAS, or any other acronym, the rules are …
All 151 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Azmah commented: Great Job +0
nebyas -2 Newbie Poster
Azmah commented: Nice Job +0
Azmah 1 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
bahed121 11 Junior Poster in Training
abelLazm 183 Postaholic
MosaicFuneral 812 Nearly a Posting Virtuoso
VernonDozier 2,218 Posting Expert Featured Poster
Azmah 1 Junior Poster
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
VernonDozier 2,218 Posting Expert Featured Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
jingda 135 Industrious Poster Featured Poster
Portgas D. Ace 7 Posting Pro in Training
Azmah 1 Junior Poster
Portgas D. Ace 7 Posting Pro in Training
VernonDozier 2,218 Posting Expert Featured Poster
skilly commented: somewhat unclear, are you trying to say 25 is the correct answer? +0
MosaicFuneral 812 Nearly a Posting Virtuoso
Azmah commented: a possibility :) +0
VernonDozier 2,218 Posting Expert Featured Poster
Portgas D. Ace 7 Posting Pro in Training
sergent 52 Posting Pro
Azmah commented: lol :) +0
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
RonS17 0 Newbie Poster
Ene Uran 638 Posting Virtuoso
skilly commented: lol manaical +0
Azmah 1 Junior Poster
Azmah 1 Junior Poster
Azmah 1 Junior Poster
Azmah 1 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.