In Chapter 18, you learned about a program that sums the trade prices in an array of trade objects using a function, trade_price, that has a trade parameter.
trade
trade_price