Question: Open the VB2015Chap10Pay SolutionPay Solution (Pay Solution.sln) file. Open the Code Editor window. The application stores six hourly pay rates in a one= dimensional array
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.
Step by Step Solution
3.41 Rating (157 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Pay Project Pay Pr... View full answer
Get step-by-step solutions from verified subject matter experts
