Question: In this exercise, you create a program that uses two parallel one-dimensional arrays. The program displays a shipping charge that is based on the number
In this exercise, you create a program that uses two parallel one-dimensional arrays. The program displays a shipping charge that is based on the number of items ordered by a customer. The shipping charge scale is shown in Figure 11-54. If necessary, create a new project named Advanced33 Project and save it in the Cpp8\Chap11 folder. Also create a new source file named Advanced33.cpp. Store the maximum order amounts in a one-dimensional int array. Store the shipping charge amounts in a parallel onedimensional int array. The program should allow the user to enter the number of items a customer ordered. It then should display the appropriate shipping charge. Use a sentinel value to stop the program. Save and then run the program. Test the program appropriately.

Minimum order 1 Maximum order Shipping charge 15 11 51 101 10 50 100 99999 10 Figure 11-54
Step by Step Solution
3.40 Rating (172 Votes )
There are 3 Steps involved in it
Program include include using namespace std int main int maximumOrderAmounts 10 50 100 99... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
2045_61d6ac3433e8d_838679.pdf
180 KBs PDF File
2045_61d6ac3433e8d_838679.docx
120 KBs Word File
