Question: In Microsoft Visual Studio 2015, & using C# programming, how would you code the following?: In this exercise, you'll use a decision structure and arithmetic
In this exercise, you'll use a decision structure and arithmetic expressions to calculate the federal income tax that is owed for a taxable income amount entered by the user u Income Tax Calculator : 35350 4367 Taxable income Income tax owed: Calculate Edt This is the 2012 table for the federal income tax on individuals that you should use for calculating the tax Taxable income Income tax Over... But not over.. Of excess over.. S0 S8,700 S35,350 S85,650 $178,650 388,350 $8,700 $35,350 85,650 $178,650 $388,350 S0 plus 10% S870 plus 15% $4867 plus 25% $ 17,442 plus 28% $43,482 plus 33% SI 12,683 plus 35% SO $8,700 35,350 $85,650 $178,650 $388,350 1. Start a new project named TaxCalculator 2. Add labels, text boxes, and buttons to the default form and set the properties of the form and its controls so they appear as shown above. When the user presses the Enter key, the Click event of the Calculate button should fire. When the user presses the Esc kcy, the Click event of the Exit button should fire 3. Create an event handler for the Click event of the Exit button that closes the form. Create an event handler for the Click event of the Calculate button. Then, write the code for calculating and displaying the tax owed for any amount entered according to the tax table above. This code should provide for decimal entries, and you can assume that the user will enter valid decimal values. However, I want you to do better than the screenshot above and actually display the results as currency. Note: The amount of Federal Income Tax owed is usually a whole dollar amount, and the government doesn't round up -rather, they convert it to an integer, effectively losing the cents. That is the reason for the amount listed in the screenshot. Ifyou want to do the same, now you know how 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
