Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help needed java program ! Thanx Task 1 Tax Management System Write a Java program that will calculate tax for the employees of a company

Help needed java program ! Thanx

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Task 1 Tax Management System Write a Java program that will calculate tax for the employees of a company called XYZ. The main menu of the tax calculation program is as follows. Welcome to Tax Management System of XYZ Please select one of the following options 1. Calculate tax 2. Search tax 3. Exit When 1 is selected then the program will calculate the tax of an employee based on the annual income of the employee and tax rates on the income. The tax rates on the income is stored in a file called taxrates.txt. The program needs to read the taxrates.txt file and store the information in proper data structure. If the taxrates.txt file does not exist in the directory of the source code then the program should ask to provide the taxrates.txt file as an input. The format of the taxrates.txt file is as follows. axable Income 0 $18,200 $18,201-$37,000 $37,001 -$87,000 $87,001 - $180,000 $180,001 and over Tax on Income 19c for each $1 over $18,200 $3,572 plus 32.5c for each $1 over $37,000 $19,822 plus 37c for each $1 over $87,000 $54,232 plus 45c for each $1 over $180,000

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

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

Is backup redundancy inefficient?

Answered: 1 week ago

Question

What is paper chromatography?

Answered: 1 week ago

Question

Explain the cost of capital.

Answered: 1 week ago

Question

Define capital structure.

Answered: 1 week ago

Question

2. What do you believe is at the root of the problem?

Answered: 1 week ago