Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2017 Skopje Macedonia September 18 22 2017 Proceedings Part 3 Lnai 10536

Authors: Yasemin Altun ,Kamalika Das ,Taneli Mielikainen ,Donato Malerba ,Jerzy Stefanowski ,Jesse Read ,Marinka Zitnik ,Michelangelo Ceci ,Saso Dzeroski

1st Edition

3319712721, 978-3319712727

More Books

Students also viewed these Databases questions