Home Segments Index Top Previous Next

323: Practice

Define a function, bigger_trade, that takes two trade-pointer arguments. It is to return a pointer to the trade object with the higher trade price.

Then, modify the program in Segment 322 such that it displays the value of the biggest trade.