Question: In visual basic Question: 1. Reenter the code from above into the text box and display the code for the form. 2. Code the declaration
| In visual basic | |
| Question: 1. Reenter the code from above into the text box and display the code for the form. 2. Code the declaration for a Function procedure named IncomeTax that receives the income amount and returns the tax amount. 3. Move the If statement in the btnCalculate_Click event handler to the IncomeTax function. Then, declare a variable for the tax at the beginning of this function, and return the tax at the end of the function. 4. Modify the statement in the btnCalculate_Click event handler that declares the tax variable so it gets its value by calling the CalculateTax method. 5. Create an event handler that clears the Income Tax Owed text box if the user changes the value in the Taxable Income text box. 6. Test the application to be sure it still works correctly. 7. Paste the modified code into the text box below. | |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
