• synae[he/him]@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    11 months ago

    PEMDAS is actually (PE)(MD)(AS). Those that are grouped together have equal precedence and are evaluated left to right.

    8 / 2 * (2+2)

    8 / 2 * 4

    4 * 4

    16

    Edit to fix formatting, maybe?