Well that’s the question, is there any programming language in which 2+3*5 is not 17? I found this question into an old test of my faculty and caught my attention. Is no big deal, but I was in doubt. A plus would be why not??
Well that’s the question, is there any programming language in which 2+3*5 is not
Share
According to this page, Smalltalk will produce a different result:
APL will get the right result by coincidence – it will get an unexpected value on
3*5+2.