Question
You have been asked to model an Income Tax proposal from the Single Rate of Tax party. There will be a single income tax rate
You have been asked to model an Income Tax proposal from the Single Rate of Tax party.
There will be a single income tax rate of 2% for everyone. Each taxpayer will receive a deduction of $10,000 regardless of their income amount in order to remove the need to keep receipts of various tax deductible expenditures. For each dependent child there will be a deduction of $2000.
A taxpayers income is reduced by the total amount of their deductions before the amount of tax payable is calculated.
Write a program which will ask the user initially for their total income, which will be a whole dollar amount followed by the number of children that they have and the program will output the amount of tax that the user will be required to pay.
For this exercise, you may assume that the input from the user will always be valid.
Sample code:
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IncomeTaxCalculator { class IncomeTax { public static void Main() { // You aren't provided with any example code for this exercise // Your task is to write this program from scratch Console.WriteLine(" Hit Enter to exit."); Console.ReadLine(); } } }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started