Open the designer and code editor windows instead of using


Chapter 21: Complete the "Revisiting the West Coast Emporium Application...Again!" exercise

1. In this exercise, you modify the Medical Bills application coded in Chapter 20. Use Windows to copy the Medical Solution folder from the ClearlyVB20121Chap20 folder to the ClearlyVB20121Chap21 folder. Open the Medical Solution (Medical Solution. sin) file contained in the Clearly VB2012tChap211Medical Solution folder. Open the designer and Code Editor windows. Instead of using a two-dimensional array, the code should use a structure and an array of structure variables. The structure should contain a String variable and a Decimal variable. Make the appropriate modifications to the code. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

2. Open the Test Scores Solution (Test Scores Solution.sln) file contained in the ClearlyVB2012\Chap21\Test Scores Solution folder. Open the Code Editor windosA Create a structure that contains three member variables; each member variable will represent a test score, which may contain a decimal place. The btnAverage controls Click event procedure should prompt the user to enter the three test scores. Each test score should be stored in a member of a structure variable. The procedure should pass the structure variable to a function that calculates and returns the average score. Finally, the procedure should display the average score (formatted with one decimal place) in the IblResult control. Code the application. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

Chapter 22: Complete the "Game Show Contestants Application" exercise

3. Open the CD Solution (CD Solution.sln) file contained in the ClearlyVB20121Chap22\aD Solution-Introductory folder. The interface provides a text box for entering the name of a CD. The Save CD button's Click event procedure should write the CD name to a sequential access file named cds.txt. Save the file in the project's bin\Debug folder. The Display CDs button's Click event procedure should read the CD names from the cds.txt file and display each in the interface. Open the Code Editor window and code both procedures. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

https://www.dropbox.com/s/y4nplfflnpddxj3/unit_v_hw.rar?dl=0

Solution Preview :

Prepared by a verified Expert
Management Information Sys: Open the designer and code editor windows instead of using
Reference No:- TGS02165814

Now Priced at $60 (50% Discount)

Recommended (92%)

Rated (4.4/5)