Views
1 year 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