Get 30% Off + $20 Signup Bonus ! Limited Time, Hurry !
Securing Higher Grades Costing Your Pocket?
Book Your Assignment at The Lowest Price
Now!
Students Who Viewed This Also Studied
ITO4131 Java Programming
Task:
Assignment task
Write a java console application that allows the user to read, validate, store, display, sort and search data (name, age, taxable income, tax, tax group) for N taxpayers. N should be declared as a constant and it should be equal to the largest digit of your student id number (e.g. if your ID number is S1267222 then N should be equal to 7 and you can declare it as final int N=7;). The name, age and taxable income must be read from the keyboard and tax and tax group must be calculated using Table 1.
The name, age, taxable income, tax and tax group must be stored in an Array or ArrayList (index 0 for taxpayer 1 and index N-1 for taxpayer N). The minimum and maximum ages which can be stored are 18 and 64. The minimum and maximum taxable incomes which can be stored are $1 and $999000. A validation for minimum and maximum values must be done during the reading of age and taxable income.
Your application should display and execute a menu with the following options. A switch statement must be used to execute the following menu options.
1. Read, validate and store data for N taxpayers
2. Calculate and store tax and tax group for all taxpayers
3. Display all taxpayers
4. Display the name and age of all taxpayers from tax group 1
5. Search a taxpayer by age
6. Sort and display taxpayers
7. Exit from the application
1. Read, validate and store data for N taxpayers
This option reads name, age and taxable income for N taxpayers from the keyboard and stores them in an Array or ArrayList. If the age is less than 18 and greater than 64 then an appropriate message should be displayed and the user should be asked to enter the age again. Similarly if the taxable income is less than $1 and greater than $999000 then an appropriate message should be displayed and the user should be asked to enter the taxable income again.
2. Calculate and store tax and group number for all taxpayers
This option calculates the tax and group number based on Table 1 for each taxpayer and then stores tax and group number in Array or ArrayList.
3. Display all taxpayers
This option displays the data (name, age, taxable income, tax, group number) for all taxpayers.
4. Display the name and age of all taxpayers from tax group 1.
This option displays the name and age of all taxpayers from tax group 1. If there is no taxpayer in group 1 then it displays an appropriate message.
5. Search a taxpayer by age
This option asks user to enter the taxpayer’s age and searches for it. If the age is found then it displays an appropriate message with taxpayer details (name, age, taxable income, tax, group number). If age is not found then it displays an appropriate message “taxpayer with given age is not found”. If there is more than one taxpayer with the given age then it displays all of them. A built-in search algorithm is not allowed in this assignment.
6. Sort and display taxpayers
This option sorts (by name) all taxpayers stored in Array or ArrayList in descending order and displays all sorted taxpayers (name, age, taxable income, tax, group number). You can use any sorting algorithm. A built-in sort algorithm for sorting is not allowed in this assignment.
7. Exit from the application
The application should display an appropriate message with student name and then exit from the application.
ITO4131 Java Programming
Answer in Detail
Solved by qualified expert
Get Access to This Answer
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
19 More Pages to Come in This Document. Get access to the complete answer.
Our assignment helpservices are not only acknowledged by students of UK, US and Australia, rather we make students proud from all over the world. Custom essay help, dissertation writing services and online assignment help are the three wings that dictate our strength. Our eminent team of writers makes sure that each of the assignments is written from scratch. We process the written assignments on latest plagiarism detecting software to identify the copied portions and make amendment to it. Be sure to get unlimited revisions and modifications at free of cost in case of any writing discrepancy. Enjoy live interaction with our writers, take writing help, resolve the writing flaws or instruct your essay guidelines.
More ITO4131 ITO4131 Java Programming: Questions & Answers
CIS 606 Application Software Infrastructure
1. (20 points) Suppose you are given an array A with n entries, with each entry holding a distinct number (i.e., no two numbers of A are equal). You are told that the sequence of values A[1];A[2]; : : : ;A[n] is down-up ordered: For some index p between 1 and n, the values in the array entries decre …
View Answer
SET11821 Data Wrangling
Critically evaluate the tools and techniques of the data storage, interfacing, aggregation and processingSelect and apply a range of specialised data types, tools and techniques for data storage, interfacing, aggregation and processingEmploy specialised techniques for dealing with complex data sets …
View Answer
Management
UC5: Create an instance of RewardProcessor, add a selection of products to it (but not all the same as those in your cart), and then test the rewardPoints method appropriately …
View Answer
ITC 539 Android Development
This assessment task is to develop a detailed project proposal. In this subject, you are required to develop a mobile application for Android. All assessment items in this subject are milestones towards your final project. This assessment task is your first milestone.You may choose any type of Andro …
View Answer
Content Removal Request
If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.
Choose Our Best Expert to Help You
Khloe Pierce
Pharmaceutical and Biomedical Sciences, M.Sc from the University of Georgia
650 – Completed Orders
Hire Me
Still in Two Minds? The Proof is in Numbers!
38983 Genuine Reviews With a Rating of 4.9/5.
English
Essay: 5 Pages, Deadline:
1 day
Great work thank you very much. Strongly recommended and will definitely ask for my future assignemnts
User ID: 5***63 Canada
Pharmacy
Essay: 2 Pages, Deadline:
19 days
very fast, easy to communicate with, clear and easy to understand the assigment when reviewed appreciate
User ID: 7***34 Saudi Arabia
Finance
Programming: 14 Pages, Deadline:
2 days
the assignment was done well,i appreciate it.the expert was patience and i think understood the assignment he did a great work there,i would have lov …
User ID: 8***11 United Kingdom, Great Britain
Assignment
Essay: 1.6 Pages, Deadline:
6 days
Thanks for the quick re-work on my assignment. Minor edits were perfectly done with the supplied feedback. Although the work hasn’t been graded yet …
User ID: 4***8 Durham, Great Britain
Management
Assignment: 20 Pages, Deadline:
13 days
Thank you team, well done everything, nice work , and appreciate what you did. Next assignment fir sure via myassignmenthelp.com
User ID: 7***18 Dubai, United Arab Emirates
Management
Programming: 18 Pages, Deadline:
13 days
Well done team, thank you for the support I appreciate your hard work Sure as always next order will send via you
User ID: 7***18 Dubai, United Arab Emirates
Assignment
Assignment: 1 Page, Deadline:
2 days
Thanks I got good grade which is good enough for me to pass the course Thanks again
User ID: 7***41 Dubai, Canada
Psychology
Assignment: 9 Pages, Deadline:
9 days
great assignment and thanks to the team as they have done what i have asked them thanks again
User ID: 2***88 Fairfield, Australia
Assignment
Essay: 2.8 Pages, Deadline:
1 day
Soo, good. relly satisfied. thank you so much. I received it earlier than my due date time, and the writer did a really great job.
User ID: 6***39 Fairfield, United States
Economics
Home Work: 2 Pages, Deadline:
1 day
Wonderful guys.. I got a A+ Thanks for going the extra mile to ensure there were no plagirarism.
User ID: 8***17 Kingston, Jamaica
Assignment
Assignment: 2 Pages, Deadline:
3 days
It’s good article, and I hope another time focus about the grammar. But finally it is great article
User ID: 1***67 Westlake, United States
Biology
Programming: 2.4 Pages, Deadline:
4 days
Good service; assignment was competed as per requirements and within the due date/time. Would use again. Prompt feedback response etc.
User ID: 2***50 Kitchener, Canada
Project Management
Assignment: 36 Pages, Deadline:
3 days
the work done by expert on Consultancy project was very good I have perused 60 marks in overall consultancy project.
User ID: 1***25 Leicester, Great Britain
Supply Chain
Home Work: 1 Page, Deadline:
13 days
Live support chat is always available . I received all assignments on given time .According to my previous corsework was given a score 80 out of 100. …
User ID: 8***97 Erbil, Albania
Criminal Law
Home Work: 8 Pages, Deadline:
5 days
first of all i would to say you id a great job by trying to make it look like its easy
User ID: 6***92 Brisbane, Australia
Management
Essay: 4 Pages, Deadline:
4 days
Great write up. Lecturer commented that it is good and great analysis has been carried out.
User ID: 8***83 Brisbane, Malaysia
Assignment
Essay: 8 Pages, Deadline:
4 days
Many mistakes in this essay. I can email you copy in which my tutor give to much bad comments and highlights the mistakes
User ID: 7***60 Sydney, Australia
Management
Essay: 1.2 Pages, Deadline:
1 day
The essay was well-written and on-time delivered. Pretty impressed with professionalism
User ID: 8***78 Sydney, Singapore
Assignment
Essay: 2 Pages, Deadline:
2 days
I’m pleased with the way and manner how my assignment was answered, I am very satisfied with it and thanks for doing a great job.
User ID: 7***58 Sydney, Australia
Finance
Course Work: 4.8 Pages, Deadline:
13 days
this assignment was very well done. scored a solid 85 which is ok. Would recommend to anyone.
User ID: 5***64 Sydney, Saint LUCIA
English
Essay: 5 Pages, Deadline:
1 day
Great work thank you very much. Strongly recommended and will definitely ask for my future assignemnts
User ID: 5***63 Canada
Pharmacy
Essay: 2 Pages, Deadline:
19 days
very fast, easy to communicate with, clear and easy to understand the assigment when reviewed appreciate
User ID: 7***34 Saudi Arabia
Finance
Programming: 14 Pages, Deadline:
2 days
the assignment was done well,i appreciate it.the expert was patience and i think understood the assignment he did a great work there,i would have lov …
User ID: 8***11 United Kingdom, Great Britain
Assignment
Essay: 1.6 Pages, Deadline:
6 days
Thanks for the quick re-work on my assignment. Minor edits were perfectly done with the supplied feedback. Although the work hasn’t been graded yet …
User ID: 4***8 Durham, Great Britain
Management
Assignment: 20 Pages, Deadline:
13 days
Thank you team, well done everything, nice work , and appreciate what you did. Next assignment fir sure via myassignmenthelp.com
User ID: 7***18 Dubai, United Arab Emirates
Management
Programming: 18 Pages, Deadline:
13 days
Well done team, thank you for the support I appreciate your hard work Sure as always next order will send via you
User ID: 7***18 Dubai, United Arab Emirates
Assignment
Assignment: 1 Page, Deadline:
2 days
Thanks I got good grade which is good enough for me to pass the course Thanks again
User ID: 7***41 Dubai, Canada
Psychology
Assignment: 9 Pages, Deadline:
9 days
great assignment and thanks to the team as they have done what i have asked them thanks again
User ID: 2***88 Fairfield, Australia
Assignment
Essay: 2.8 Pages, Deadline:
1 day
Soo, good. relly satisfied. thank you so much. I received it earlier than my due date time, and the writer did a really great job.
User ID: 6***39 Fairfield, United States
Economics
Home Work: 2 Pages, Deadline:
1 day
Wonderful guys.. I got a A+ Thanks for going the extra mile to ensure there were no plagirarism.
User ID: 8***17 Kingston, Jamaica
Assignment
Assignment: 2 Pages, Deadline:
3 days
It’s good article, and I hope another time focus about the grammar. But finally it is great article
User ID: 1***67 Westlake, United States
Biology
Programming: 2.4 Pages, Deadline:
4 days
Good service; assignment was competed as per requirements and within the due date/time. Would use again. Prompt feedback response etc.
User ID: 2***50 Kitchener, Canada
Project Management
Assignment: 36 Pages, Deadline:
3 days
the work done by expert on Consultancy project was very good I have perused 60 marks in overall consultancy project.
User ID: 1***25 Leicester, Great Britain
Supply Chain
Home Work: 1 Page, Deadline:
13 days
Live support chat is always available . I received all assignments on given time .According to my previous corsework was given a score 80 out of 100. …
User ID: 8***97 Erbil, Albania
Criminal Law
Home Work: 8 Pages, Deadline:
5 days
first of all i would to say you id a great job by trying to make it look like its easy
User ID: 6***92 Brisbane, Australia
Management
Essay: 4 Pages, Deadline:
4 days
Great write up. Lecturer commented that it is good and great analysis has been carried out.
User ID: 8***83 Brisbane, Malaysia
Assignment
Essay: 8 Pages, Deadline:
4 days
Many mistakes in this essay. I can email you copy in which my tutor give to much bad comments and highlights the mistakes
User ID: 7***60 Sydney, Australia
Management
Essay: 1.2 Pages, Deadline:
1 day
The essay was well-written and on-time delivered. Pretty impressed with professionalism
User ID: 8***78 Sydney, Singapore
Assignment
Essay: 2 Pages, Deadline:
2 days
I’m pleased with the way and manner how my assignment was answered, I am very satisfied with it and thanks for doing a great job.
User ID: 7***58 Sydney, Australia
Finance
Course Work: 4.8 Pages, Deadline:
13 days
this assignment was very well done. scored a solid 85 which is ok. Would recommend to anyone.
User ID: 5***64 Sydney, Saint LUCIA
Have any Query?
The post ITO4131 Java Programming : Taxable Incomes appeared first on My Blog.