Programming Project 9.22.9: •••. After closing time, the store manager would like to know how much business was transacted during the day. Modify the CashRegister class to enable this functionality. Supply member functions get_sales_total and get_sales_count to get the total amount of all sales and the number of sales. Supply a member function reset_sales that resets any counters and totals so that the next day’s sales start from zero.

Report
Question

Please briefly explain why you feel this question should be reported.

Report
Cancel
Programming Project 9.22.9: •••.

After closing time, the store manager would like to know how much business was transacted during the day. Modify the CashRegister class to enable this functionality. Supply member functions get_sales_total and get_sales_count to get the total amount of all sales and the number of sales. Supply a member function reset_sales that resets any counters and totals so that the next day’s sales start from zero.

MathJax Example

Answer ( 1 )

  1. Please briefly explain why you feel this answer should be reported.

    Report
    Cancel

Leave an answer

Browse

By answering, you agree to the Terms of Service and Privacy Policy.