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

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.

! Shipping Depot Total shipped: Display Exit FedEx: UPS: display the percentages

! Shipping Depot Total shipped: Display Exit FedEx: UPS: display the percentages in these labels USPS: FedEx 225 UPS 216 Week USPS 1 150 199 230 150 2 225 215 3 200 225 4 175 200

Step by Step Solution

3.36 Rating (189 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 15 VisualStudioVersi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1814_60b8c1228687d_823799.pdf

180 KBs PDF File

Word file Icon

1814_60b8c1228687d_823799.docx

120 KBs Word File

Students Have Also Explored These Related Programming Microsoft Visual Basic Questions!