Open the VB2015Chap10Pay SolutionPay Solution (Pay Solution.sln) file. Open the Code Editor window. The application stores six

Question:

Open the VB2015\Chap10\Pay Solution\Pay Solution (Pay Solution.sln) file. Open the Code Editor window. The application stores six hourly pay rates in a one= dimensional array named dblRates. Each rate corresponds to a pay code from 1 through 6. Code 1’s rate is stored in the dblRates(0) element in the array, code 2’s rate is stored in the dblRates(1) element, and so on. The btnDisplay_Click procedure prompts the user to enter a pay code. It then displays the amount associated with the code. Currently, the Private statement assigns the six hourly pay rates to the array. Modify the code so that the form’s Load event procedure reads the rates from the payrates.txt file and stores each in the array. The file is contained in the project’s bin\Debug folder. Test the application appropriately.

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

Step by Step Answer:

Related Book For  answer-question
Question Posted: