I did this in half a dozen programming languages from python to c++ and every single one of them says 16.
Keep in mind I had to “correct” the formula to 8/2*(2+2).
This is why, when I’m programming I tend to use parens if there is any way it’s not 100% obvious, even sometimes when it’s not necessary.
I agree with those above that mention the slant division sign rather than the horizontal line. Using the horizontal notation makes it more clear. But if you want to get 1 either way, toss parens around the 2*(2+2)
Keep in mind I had to “correct” the formula to 8/2*(2+2).
This is why, when I’m programming I tend to use parens if there is any way it’s not 100% obvious, even sometimes when it’s not necessary.
I agree with those above that mention the slant division sign rather than the horizontal line. Using the horizontal notation makes it more clear. But if you want to get 1 either way, toss parens around the 2*(2+2)