-
Content count
2856 -
Joined
-
Last visited
Single Status Update
-
Say I'm in the poop buying business, because I need a lot of poop to fertilize my beautiful collection of carrion flowers. I buy 57.49 ounces at the price of 1.34, I buy 77.46 ounces at the price of 1.35, etc, as shown above.code:
Array
What is the average PRICE I bought them all at. Like it would probably be closer to 1.35ish in this case.
My guess is like (57.49 * 1.34) + (77.46 * 1.35) etc... then divide that all by 1.365 (the halfway mark) or something???? Leik what do I do I don't know???