Home Segments Index Top Previous Next

107: Practice

Write a program that computes the total value of the shares traded on the New York Stock Exchange on a typical day. Have the computation performed by a function named estimate_total_value. Arrange to provide estimates of the number of shares traded and the average value of each share at run time.