Program #1: In one state, single residents are subject to the following income tax: Income Not over $750 $750-$2500 $2500-$5000 $5000-$8000 Over $8000 Amount of tax 1% of income $7.5 plus 2% of amount over $750 $82.5 plus 4% of amount over $2500 plus 5% of amount over $5000 plus%6 of amount over $8000 $142.50 $230.00 Write a program named IncomeTax.java.|| 1. generate random number of people in the range of (1-15); 2. ask the user to enter the amount of taxable income for each person, and then displays the tax due; 3. display the people with max value of taxes on the screen.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section: Chapter Questions
Problem 1PP
icon
Related questions
Question

please type***

Program #1
In one state, single residents are subject to the following income tax:
Income
Not over $750
$750-$2500
$2500-$5000
$5000-$8000
Over $8000
Amount of tax
1% of income
$7.5 plus 2% of amount over $750
$82.5 plus 4% of amount over $2500
plus 5% of amount over $5000
plus%6 of amount over $8000
$142.50
$230.00
Write a program named Income Tax.java.
1. generate random number of people in the range of (1-15):
2. ask the user to enter the amount of taxable income for each person, and then
displays the tax due;
3. display the people with max value of taxes on the screen.
Transcribed Image Text:Program #1 In one state, single residents are subject to the following income tax: Income Not over $750 $750-$2500 $2500-$5000 $5000-$8000 Over $8000 Amount of tax 1% of income $7.5 plus 2% of amount over $750 $82.5 plus 4% of amount over $2500 plus 5% of amount over $5000 plus%6 of amount over $8000 $142.50 $230.00 Write a program named Income Tax.java. 1. generate random number of people in the range of (1-15): 2. ask the user to enter the amount of taxable income for each person, and then displays the tax due; 3. display the people with max value of taxes on the screen.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning