Develop a Java application that determines the total tax for each of three citizens. The tax rate
Question:
Develop a Java application that determines the total tax for each of three citizens. The tax rate is 15% for earnings up to 30,000 USD earned by each citizen and 20% for all earnings in excess of that ceiling. You are given a list with the citizens’ names and their earnings in a given year. Your program should input this information for each citizen, then determine and display the citizen’s total tax. Use class Scanner to input the data.
Perform each of the following steps:
a) Read the problem statement.
b) Formulate the algorithm using pseudocode and top-down, stepwise refinement.
c) Write a Java program.
d) Test, debug and execute the Java program.
e) Process three complete sets of data.
Step by Step Answer:
Sure lets go through each of the steps youve posted a ...View the full answer
Java How To Program Late Objects Version
ISBN: 9780136123712
8th Edition
Authors: Paul Deitel, Deitel & Associates
Students also viewed these Computer science questions
-
Develop a Java application that determines whether any of several department-store customers has exceeded the credit limit on a charge account. For each customer, the following facts are available:...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Drivers are concerned with the mileage their automobiles get. One driver has kept track of several trips by recording the miles driven and gallons used for each tankful. Develop a Java application...
-
Read the case study of Statistics regarding the Lawler Grocery Store chain. The use of the sign test is demonstrated in this case study. In your opinion, what is the biggest benefit of the sign test?...
-
What are the possible treatments for tax purposes of a net operating loss? What are the circumstances that determine the option to be applied? What is the proper treatment of a net operating loss for...
-
Rockford, Skeeba, and Tapinski are partners in a business which manufactures specialty railings. Their profit and loss agreement provides for the allocation of profits and losses as follows: 1....
-
Have you ever lied to protect someones feelings or to motivate them to do something? What role does empathy play in this scenario?(p. 93)
-
The cash records of Dawes Company show the following four situations. 1. The June 30 bank reconciliation indicated that deposits in transit total $920. During July, the general ledger account Cash...
-
As CEO of WaterSpray Marine, Ramona Raney knows it is important to control costs and to respond quickly to changes in the highly competitive boat-building industry. When DMG Consulting proposes that...
-
The process of finding the largest value is used frequently in computer applications. For example, a program that determines the winner of a sales contest would input the number of units sold by each...
-
A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5,000 worth of...
-
A flow of air at 5C, = 90%, is brought into a house, where it is conditioned to 25C, 60% relative humidity. This is done with a combined heater-evaporator where any liquid water is at 10C. Find any...
-
7. A psychiatrist is testing a new ADHD Medication, which seems to have the potentially harmful side effect of increasing the heart rate. For a sample of 50 clinical study participants whose pulse...
-
Determine the type of engagement that your colleague completed for the client. Justify the selected engagement type for the client. Assess the purpose of each financial statement for the client's...
-
Mills Corporation acquired as a long-term investment $235 million of 8% bonds, dated July 1, on July 1, 2024. Company management has classified the bonds as an available-for-sale investment. The...
-
A force of 28 pounds acts on the pipe wrench shown in the figure below. 18 in. 30 (a) Find the magnitude of the moment about O by evaluating ||OA x F||. (0 0 180) Use a graphing utility to graph the...
-
Module 1 1. There has been a rise in cases of measles in RI. The RI Health Department is wondering if the rate of MMR vaccinations has declined since the start of the COVID-19 pandemic. The...
-
Suppose that 5 cards are drawn from a deck of 52 cards. What is the probability of drawing each of the following? 1. 3 sevens and 2 kings 2. 5 aces 3. 5 spades
-
A 6-lb shell moving with a velocity ?? v0k explodes at point D into three fragments which hit the vertical wall at the points indicated. Fragments A, B, and C hit the wall 0.010 s, 0.018 s, and 0.012...
-
Al says he can prove that all sheep in a flock are the same color: Base case: One sheep. It is clearly the same color as itself. Induction step: A flock of n sheep. Take a sheep, a, out. The...
-
Alice has two circular queues,C and D, which can store integers. Bob givesAlice 50 odd integers and 50 even integers and insists that she stores all 100 integers in C and D. They then play a game...
-
Suppose Bob has four cows that he wants to take across a bridge, but only one yoke, which can hold up to two cows, side by side, tied to the yoke. The yoke is too heavy for him to carry across the...
-
Your company BMG Inc. has to liquidate some equipment that is being replaced. The originally cost of the equipment is $120,000. The firm has deprecated 65% of the original cost. The salvage value of...
-
1. What are the steps that the company has to do in time of merger transaction? And What are the obstacle that may lead to merger failure? 2.What are the Exceptions to not to consolidate the...
-
Problem 12-22 Net Present Value Analysis [LO12-2] The Sweetwater Candy Company would like to buy a new machine that would automatically "dip" chocolates. The dipping operation currently is done...
Study smarter with the SolutionInn App