Order of operations - what is 6÷2(1+2) ?
|
12-13-2020, 09:01 AM
(This post was last modified: 12-13-2020 09:02 AM by toml_12953.)
Post: #42
|
|||
|
|||
RE: Order of operations - what is 6÷2(1+2) ?
(12-12-2020 01:55 PM)ijabbott Wrote:(12-12-2020 04:58 AM)toml_12953 Wrote: Yes, to most programmers I know it means (x/2)*y. Syntax error is exactly why programmers put the missing multiplication sign in there. x/2y becomes x/2*y If the author wanted x/(2*y) (s)he should have used parentheses or a textbook notation Code: x Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)