Mr. Smith of the Build-Rite Manufacturing Company has asked you to write a C++ p
ID: 3541520 • Letter: M
Question
Mr. Smith of the Build-Rite Manufacturing Company has asked you to write a C++ program that calculates shipping charges for orders. All orders are charged a basic shipping rate of $20.00, plus an additional rate based on the quantity of items shipped and the destination. Your program should prompt the user to enter the quantity of items and the destination-shipping region, and then calculate a shipping rate. Use a two-dimensional array in your solution. The shipping rates are as follows:
Quantity
Region 1
Region 2
Region 3
Region 4
Region 5
1
1.00
2.00
3.00
4.00
5.00
2
2.00
4.00
6.00
8.00
10.00
3
2.50
4.50
6.50
8.50
10.50
4
3.00
5.00
7.00
9.00
11.00
5
3.25
5.25
7.25
9.25
11.25
>5
3.50
5.50
7.50
9.50
11.50
Quantity
Region 1
Region 2
Region 3
Region 4
Region 5
1
1.00
2.00
3.00
4.00
5.00
2
2.00
4.00
6.00
8.00
10.00
3
2.50
4.50
6.50
8.50
10.50
4
3.00
5.00
7.00
9.00
11.00
5
3.25
5.25
7.25
9.25
11.25
>5
3.50
5.50
7.50
9.50
11.50
Explanation / Answer
return 0;
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.