Order of operations - what is 6÷2(1+2) ?
|
12-12-2020, 04:58 AM
Post: #30
|
|||
|
|||
RE: Order of operations - what is 6÷2(1+2) ?
(12-12-2020 12:32 AM)Massimo Gnerucci Wrote: So when you write x/2y what you really mean is (x*y)/2? Yes, to most programmers I know it means (x/2)*y. Let x=4, y=7 if you use a computer to print the result, you get 14. Most computer languages don't allow implied multiplication so in order to write it as it's written without introducing parentheses, we'd write it as x/2*y We have no juxtaposition. Mathematicians might but us computer programmers don't. Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)