Open the VB2015Chap10Sales SolutionSales Solution (Sales Solution.sln) file. The frmMain_Load procedure should read the five sales amounts
Question:
Open the VB2015\Chap10\Sales Solution\Sales Solution (Sales Solution.sln) file. The frmMain_Load procedure should read the five sales amounts contained in the sales.txt file, storing the amounts in a one-dimensional array and also displaying the amounts in the lstOriginal control. The sales.txt file is contained in the project’s bin\Debug folder. The btnProjected_Click procedure should calculate the projected sales amounts by increasing each value in the array by 25%. The procedure should display each projected sales amount in the lstProjected control and also save the projected amounts in an empty sales.txt file. Test the application appropriately. Be sure to verify that the sales.txt file contains the projected amounts listed in the lstProjected control. (Hint: If you need to recreate the sales.txt file, open the file in a window in the IDE. Delete the contents of the file, and then type the following sales amounts: 1000, 3000, 2500, 989.95, and 1243.89.)
Step by Step Answer: