Follow the instructions for starting C++ and viewing the Advanced27.cpp file, which is contained in either the

Question:

Follow the instructions for starting C++ and viewing the Advanced27.cpp file, which is contained in either the Cpp8\Chap11\Advanced27 Project folder or the Cpp8\Chap11 folder. (Depending on your C++ development tool, you may need to open the project/ solution file first.) Modify the program to include a menu containing the following three options: Highest Domestic Sales, Highest International Sales, and Highest Total Monthly Sales. Also include three program-defined functions named getDomestic, getInternational, and getMonthly in the program. The functions can be either value-returning or void. The getDomestic function should determine the highest sales amount in the domestic array. The getInternational function should determine the highest sales amount in the international array. The getMonthly function should determine the highest monthly sales, as well as the month in which those sales were made. Depending on the user’s menu selection, the program will display the highest domestic sales amount, the highest international sales amount, or the highest monthly total. When displaying the highest monthly total, also display the month (January through June) in which those sales were made. Save and run the program. Test the program appropriately. (Hint: The highest monthly sales are the March sales of $131800.)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: