Home Segments Index Top Previous Next

646: Practice

Modify the program Segment 639 so as to add a macro, PRICE_ONLY. If PRICE_ONLY is defined, your program is to compile only those statements needed to keep track of price information. Otherwise, it is to compile as before.