Write a java console application for calculating income tax

Assignment Help JAVA Programming
Reference no: EM132365965

Assignment task

Write a java console application for calculating income tax for N company employees. N should be declared as a constant and it should be equal to the largest digit of your student II) number (e.g. if your ID number is 5456222 then N should be equal to 6 and you can declare it as final int N=6). The income tax and tax group for taxable income are shown below in Table I.

Table I. Income Tax and Tax Group for Taxable Income

Taxable Income

Income Tax

Tax Group

$0 - $18200

$0

Group 1

$18201 - $37000

$0 plus 19c for each SI over $18200

Group 2

$37001 - $87000

$3572 plus 32.5c for each $1 over $37000

Group 3

$87001 - $180000

$19822 plus 37c for each $1over $87000

Group 4

$180001 and over

$54097 plus 45c for each $1 over $180000

Group 5


The application should ask the user to enter the taxable income for each employee (total N employees) and calculate the income tax for each employee. The application should display the income lax for each employee as shown in the example below.

At the end of the NM employee. the details such as highest lax. lowest tax, number of employees in Group I. number of employees in Group 5 and tax group with highest number of employees should be displayed.

If more than one group has the same number of employees then the group with higher number should he displayed, e.g. Group I and Group 5 both have 2 employees which is highest number of employees then 5 should be displayed).

Example for N=6

Enter the taxable income for employee 1: 17500

The income tax for employee 1 is $0.00

Enter the taxable income for employee 2: 19200

The income tax for employee 2 is $190.00

Enter the taxable income for employee 3: 38000

The laconic tax for employee 3 is $3897 00

Enter the taxable income for employee 4: 90000

The income tax for employee 4 is $20932.00

Enter the taxable income for employee 5: 181000

The income tax for employee 5 is $54547.00

Attachment:- Code.rar

Reference no: EM132365965

Questions Cloud

Why goldman sachs was a disciple of albert carr theory : Discuss why Goldman Sachs (use research from the CU library for Goldman Sachs) was a disciple of Albert Carr's theory of "business is a poker game and we are.
Improve the organization culture : What recommendations support how the study of power and politics could influence leadership behavior and improve the organization's culture?
Describe marketing strategies for growing market share : Describe two marketing strategies that firms can select for growing their market share domestically. Explain which of the two marketing strategies you select.
Case study issue of carroll : The factors in which organisations competing in your industry of choice are distinguished or differentiated by and how these factors
Write a java console application for calculating income tax : Write a java console application for calculating income tax for N company employees. N should be declared as a constant and it should be equal.
How collaboration boosts the performance of organizations : List and describe several ways how collaboration boosts the performance of organizations.
What is called disaster diplomacy : A theory has been advanced for what is called "Disaster Diplomacy." Its premise is that international disaster response can be a form of diplomacy.
Discuss advantages of the smoothwall firewall application : Smoothwall is one example of a firewall application. This week, you will discuss three advantages and three disadvantages of the SmoothWall firewall.
Evolving role of data in decision making : How does the article define "big data"? Based on your functional area of expertise, discuss the frequency of big data in driving decisions graph versus what you

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd