I need help in my C++ class. We are using An iNTRDUCTION to programming with C++. The 6th Edition. Chapter 6, and 7.
For example A program stores sales amounts in two int variables named marySales and jimSales. Write the C++ code to display the message "Mary and Jim sold the same amount" when both variables contain the same number. If both variables contain different numbers, the code should compare both numbers and then display either the message "Mary sold more than jim" or the message"Jim sold more than Mary".