Solve this if you think Mathematics is directly related to Programming 😀

For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Solve this if you think Mathematics is directly related to Programming 😀
For further actions, you may consider blocking this person and/or reporting abuse
Akira Kashihara -
haimantika mitra -
Bas codes -
Pascal Landau -
Once suspended, slimdestro will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, slimdestro will be able to comment and publish posts again.
Once unpublished, all posts by slimdestro will become hidden and only accessible to themselves.
If slimdestro is not suspended, they can still re-publish their posts from their dashboard.
Discussion (10)
PEMDAS is the Order of operations taught in my grade school.
Parentheses, Exponents, Multiplication, Division, Addition, Subtraction.
PEMDAS or BODMAS?
Great! Thanks for explaining this
6 ÷ 2(1 + 2)
= 6 ÷ 2(3)
= 6 ÷ 6
= 1
Exact answer but only confusion is the application of PEMDAS vs BODMAS
There are many others: BIDMAS, PEDMAS, etc. This article gives a detailed comparison between the two, and that, all the methods are not rules, it's just like a convention: slate.com/technology/2013/03/faceb...
You can argue for both 9 or 1 equally but I think 1 looks more natural here
6 ÷ 2(1 + 2) = 1
Although 9 looks more natural (or not 😕) when expressed like this:
6 ÷ 2 x (1 + 2) = 9
And if (1+2) was replaced with a variable y having value 3, 1 looks more natural again
6 ÷ 2y = 1
6/2(1+2)
=6/2*3
=3*3
=9
Done Using BODMAS(Bracket Of Divsion Multiplication Addition Subtraction) Rule.
Ofcourse itll be but have you tried solving this using PEMDAS?
Actually I don't know PEDMAS
1