Share
Programming Project 9.22.6: •••. Reimplement the CashRegister class so that it keeps track of the price of each added item in a vector. Remove the item_count and total_price data members. Reimplement the clear, add_item, get_total, and get_count member functions. Add a member function display_all that displays the prices of all items in the current sale.
ReportQuestion
Please briefly explain why you feel this question should be reported.
Programming Project 9.22.6: •••. Reimplement the CashRegister class so that it keeps track of the price of each added item in a vector<double>. Remove the item_count and total_price data members. Reimplement the clear, add_item, get_total, and get_count member functions. Add a member function display_all that displays the prices of all items in the current sale.
Answer ( 1 )
Please briefly explain why you feel this answer should be reported.