In this exercise, you modify the Shipping Depot application from Exercise 13. Use Windows to make a

Question:

In this exercise, you modify the Shipping Depot application from Exercise 13. Use Windows to make a copy of the Shipping Depot Solution folder. Rename the copy Modified Shipping Depot Solution. Open the Shipping Depot Solution.sln file contained in the Modified Shipping Depot Solution folder. Open the Code Editor window and locate the Display button?s Click event procedure. Change the four-row, three-column array to a three-row (one for each shipper), four-column (one for each week) array. Make the necessary modifications to the procedure?s code.

Data from Exercise 13.

Create a Windows Forms application. Use the following names for the project and solution, respectively: Shipping Depot Project and Shipping Depot Solution. Save the application in the VB2017\Chap08 folder. The Shipping Depot store ships packages by FedEx, UPS, and USPS. Create the interface shown in Figure 8-50; the interface contains a group box, 11 labels, and two buttons. The Display button?s Click event procedure should declare a two-dimensional array that contains four rows (one for each week) and three columns (one for each shipper). Initialize the array using the data shown in Figure 8-50. The procedure should display the total number of packages shipped, the total shipped by FedEx, the total shipped by UPS, and the total shipped by USPS. It should also display the percentage of the total number shipped by each of the different shippers. Display the percentages with a percent sign and no decimal places. Code the application. Save the solution and then start and test the application.

image

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

Step by Step Answer:

Question Posted: