11 months ago

BIS 311 DeVry Week 3 iLab

Perform the following

Perform the following processing: btnCalcTax Click Calculate total deductions = 6000 + Number of dependents × 1000 Calculate adjusted gross income = Income - Total deductions Calculate tax owed using tax table in requirements Display the following output to the user: Tax owed formatted as currency with $ and cents lblTaxOwed Pseudocode for Tax Calculator Application Start Declare numeric constants for Standard deduction =6000 Dependent deduction =1000 Income bracket 1=10000 Rate1=0.10 Income bracket 2=40000 Base2=1000 Rate2=0.15 Income bracket 3=100000 Base3=5500 Rate3=0.25 Base4=20500 Rate4=0.35 Declare numeric variables for Income Number of dependents Total deductions Adjusted gross income Tax owed Get inputs: Income Number of dependents Calculate Total deductions =Standard deduction +(Number of dependents *Dependent deduction) Calculate Adjusted gross income =Income-Total deductions If Adjusted gross income is less than or equal to Income bracket 1 Then CalculateTax owed =Adjusted gross income * Rate 1 Else If Adjusted gross income is less than or equal to Income bracket 2

Calculate Tax owed =Base 2 + (Adjusted gross income - Income bracket 1) * Rate 2 Else If Adjusted gross income is less than or equal to Income bracket 3 Calculate Tax owed =Base3 + (Adjusted gross income - Income bracket 2) * Rate 3 Else Calculate Tax owed = Base 4 + (Adjusted gross income -Income bracket 3) * Rate 4 End If Display Tax owed formatted as currency with $ and cents Stop NOTE: The above is a simplified version of tax calculations for purposes of this lab. Although the basic principles of a graduated income tax are illustrated here, real taxes are more complicated, and the rates and brackets are different. Please do not use this simple application to calculate your real taxes. Deliverables Submit a Word document named Lab3YourFirstLastName.docx (where YourFirstLastName = your first and last name; e.g., Lab3JohnSmith.docx) containing the following: Screenshots of form showing the application running, with the following correct input and output values displayed in the form. Income = 9,000, Number of dependents = 1, Tax owed = $200.00 Income = 25,000, Number of dependents = 2, Tax owed = $2,050.00 Income = 70,000, Number of dependents = 3, Tax owed = $10,750.00 Income = 150,000, Number of dependents = 4, Tax owed = $34,500.00 Copy of button-click event code Category Points % Description Create and rename form 5 10% Add controls to form 5 10% Set properties (name and text) 5 10% for controls Code button-click event 15 30% Windows form was created and renamed TaxCalculator.vb. Form text property was set to Lab 3 Your Name (where Your Name = your full name). The following controls were added to the form: Identifying labels and text boxes for entry of income and number of dependents; Calculate Tax button; and label for display of tax owed. Controls are arranged on form in a logical and visually pleasing layout. Name and text properties of all controls were set appropriately, with no typos or spelling errors. Button-click event code was entered that corresponds to the given pseudocode, with no syntax errors. Test-run successfully application 20 40% Application is shown running successfully with no errors, with valid inputs and correct output for each of the four specified test cases. Total 50 100% Required Software Log in to the Citrix iLab site as you did in the previous labs. The Microsoft Visual Studio 2012 icon should be displayed already on your Citrix main menu page. Click the Microsoft Visual Studio 2012 icon to launch Visual Studio. (a) Pull down the File menu and select New Project . . . .

DEVRY CIS 336 Week 3 iLab 3
DEVRY MGMT 404 Week 3 iLab