Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: grundle

Wow! That’s interesting. One does the division first, and the other does the multiplication first.

Which is more standard? I think because there’s no * between the 2 and the parenthesis, you do the multiplication first.


20 posted on 04/12/2011 1:39:23 PM PDT by NRPM (We have to come to terms with the fact that governments have made promises they will not keep.)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: NRPM

I don’t know what is correct by the rules but in computer science it is parenthesis first followed by multiply or divide followed by add or subtract with whichever has precedence calculating left to right. In other words.

(48/2) * (9+3) = 288


37 posted on 04/12/2011 1:47:02 PM PDT by bkepley
[ Post Reply | Private Reply | To 20 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson