Question: is it dmas or mdas?
Answer: It's not MDAS. It's actually DMAS, which means division, multiplication, addition and subtraction. In mathematics, this rule is followed which means in an equation or a problem, the order of simplification will be in the above format.