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...
-
The thermal conductivity of a material may be determined in the following manner. Saturated steam 2.41 105 N/m2 is condensed at the rate of 0.68 kg/h inside a hollow iron sphere that is 1.3 cm thick...
-
What is an evaporative condenser ?
-
Ida Ross has decided to purchase a new home in a retirement community for $400,000. She has $50,000 in cash for the down payment but needs to borrow the remaining $350,000 to finance the purchase....
-
Problem 1: Spitz Dairy (Joint Costs) Spitz Dairy produces 3 different products: Butter, Cheese and Whey from Milk. The cost of Milk is $1.5 per gallon and one gallon of Milk yields 0.5 pounds of...
-
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...
-
What are United Ways most important internal resources and capabilities?
-
Two resistors connected in series have an equivalent resistance of \(8.0 \Omega\). The same resistors connected in parallel have an equivalent resistance of \(1.5 \Omega\). What is the resistance of...
-
When a nonideal battery is connected to a \(2.0-\Omega\) resistor in a circuit, the current in the circuit is \(2.0 \mathrm{~A}\). When the same battery is connected to a \(1.0-\Omega\) resistor in a...
-
Consider a 3 -year \(10 \%\) coupon bond. The underlying short rate of interest follows a lattice with initial value of \(R=1.15\) and then has an factor of 1.02 , a down factor of .99 , and...
-
Using the density function of the stopping time probability for a fixed \(\lambda\), find the average time to the first event over the entire interval \([0, \infty)\).
-
Show that for the Ho-Lee model the (risk-neutral) standard deviation of the one-period rate is exactly \(b_{k} / 2\).
-
The following table (compiled from police reports) shows the record of automobile accidents for three age groups over the last year in a five-county region. a. An analyst points out that of 57,051...
-
Identify the source of funds within Micro Credit? How does this differ from traditional sources of financing? What internal and external governance mechanisms are in place in Micro Credit?
-
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...
-
A company is faced with the decision of whether to lease or purchase new equipment. The equipment can be leased at an annual cost of $210,000 or purchased for $560,000. The equipment has an expected...
-
Braverman Company has two manufacturing departments-Finishing and Fabrication. The predetermined overhead rates in Finishing and Fabrication are $28.00 per direct labor-hour and 120% of direct...
-
A stock had returns of 28%, 1%, and 13% over the previous 3 years. The average return on this stock over the 3-year period was 14%. What was the variance of this stock's returns over the previous 3...
Study smarter with the SolutionInn App