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.

Example screenshot:

It is important that you display the exact same messages as in the example. If your program displays something else you may fail the exercise even if your program does the conversion correctly. If you still have difficulties, here are some tips:

Make sure your Main() function is declared public static void Main(). If your Main() function is private, the code will still work in Visual Studio but it will not work in AMS.

If your code uses Console.ReadKey(); it should be replaced with Console.ReadLine();.

Make sure your code displays exactly what the problem asks you for. If you can, copy and paste the text you need to display into your function to avoid possible transcription errors. If there are any mistakes at all your code will not pass.

USE THE SAMPLE CODE BELOW TO COMPLETE

image text in transcribed

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IncomeTaxCalculator class IncomeTax public static void Main() /I You aren't provided with any example code for this exercise /I Your task is to write this program from scratch Console.WriteLine("nn 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

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions

Question

What is conservative approach ?

Answered: 1 week ago

Question

What are the basic financial decisions ?

Answered: 1 week ago

Question

Question Can life insurance be used in a Keogh (HR 10) plan?

Answered: 1 week ago