February 21, 2017

Homework Help: computers - Programming

Posted by apiz007 on Monday, May 5, 2014 at 10:59pm.

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 1 below. Store the maximum order amounts in a one dimensional int array. Store the shipping charge amounts in a parallel one dimensional 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.

Min.Order Max.Order ShippingCharge
1 10 15
11 50 10
51 100 5
101 99999 0

Answer This Question

First Name:
School Subject:

Related Questions

More Related Questions