Computer Science 252: Questions and Answers

Frequently asked questions about lab assignments, homeworks, lectures, or any other topic of CS 252 will be posted here.

If you have a question you'd like answered send email to marinab2@cs.uwm.edu

Q: How do I go about returning value of a Money object for the value() implementation?
A: You should create a Money variable, and use it as accumulator: add total_price of each OrderItem to it.

Q: Where do I get the quantity of the item for add_item?
A: Use get_quantity.


CS 252 FAQ / Marina Brukhovetsky marinab2@cs.uwm.edu