Bukan dalam BODMAS tu Addition and Substraction carry the same weight?
So ikut dari kiri ke kanan yang mana lebih dulu
B | Brackets first | O | Orders (i.e. Powers and Square Roots, etc.) | DM | Division and Multiplication (left-to-right) | AS | Addition and Subtraction (left-to-right) |
Divide and Multiply rank equally (and go left to right). Add and Subtract rank equally (and go left to right)
Kalau taip kat excel, dia bagi jawapan -15
Java pun -15
Ok.. gigih I cari jawapan
|