12 Answers
New Answer5/18/2020 11:53:59 AM
Saurabh12 Answers
New AnswerFrom a design perspective, it's better to follow the said BODMAS rule because people are more used to it. Another reason is that it's the foundation of mathematics.
銈点偆銉屻偣 will you clarify who is OP 馃槀馃槀 & and I know what questioner has asked but I am unable to understand what you said
饾悐饾悽饾悽饾悰饾惃 饾悊饾悺饾悮饾惒饾悮饾惀 OP = Original Poster or something along those lines. What I was saying is that the reason most programming languages follow the said BODMAS rule is because people are more used to it, the precedence and associativity of the operations. Another reason is that BODMAS is one of the foundation of mathematics.
Saurabh Kumar Gupta Have a look on this 馃憞馃憞馃憞 https://www.sololearn.com/learn/Python/2278/
Yes because everywhere is BODMAS rules are applying whatever that is Maths or programming we can use BODMAS
Saurabh Kumar Gupta Yeah You can check it by own Write a expression & run it You will get correct answer For further information please have a look on this code 馃憞馃憞馃憞 https://code.sololearn.com/cvQNE24jZ2Iq/?ref=app
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message