In this exercise, you create a program that uses two parallel one-dimensional arrays. The program displays a

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 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

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

Step by Step Answer:

Question Posted: