Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Macroeconomics Expert

Write a Java application that prompts  a user  for a fist name and  a last name, and then asks if a user is a company's employee.  If positive - prompt for an hourly pay rate and hours worked. Compute the gross pay (hours times rate), withholding tax, and net pay ( gross pay minus withholding tax). Withholding tax should be computed as percentage of gross pay based on the following scale:

Gross Pay

Withholding Percentage

0 to 300.00

8%

300.01 to 400.00

10%

400.01 to 500.00

12%

500.01 and over

15%

Display the user's name (first and last), hourly rate, hours worked, withholding tax percentage, withholding tax and gross pay.

When a user is not an employee - display the proper message on that and terminate the application.

Use logical AND and OR operators when designing the logic of the application.

Save the file as ComputePay.java.

Note: if preferred you can use JOptionPane input dialog instead of the Scanner class.

Macroeconomics, Economics

  • Category:- Macroeconomics
  • Reference No.:- M92026295
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Macroeconomics

Question competitive firms located in lesotho africa sell

Question: Competitive firms located in Lesotho (Africa) sell their tube socks only in Europe and theUnited States (which do not produce the good themselves). The industry's supply curve isupward sloping. a. Show the init ...

Question - consider firms in the market for get-rich-quick

Question - Consider firms in the market for get-rich-quick schemes. For this problem, assume get-rich-quick schemes are indivisible (so there can only be 1, 2, 3, etc.). Now, the more schemes there are in the market the ...

Question 1 graphically illustrate the minimum wage note

Question: 1) Graphically illustrate the minimum wage. Note the deadweight (welfare loss) loss and the loss or redistribution from job search. 2) Assume that you have two periods: 2011 and 2012 for a pickup truck. Price 2 ...

Question tara is considering leaving her current job which

Question: Tara is considering leaving her current job, which pays $56,000 per year, to start a new company that manufactures a line of special pens for personal digital assistants. Based on market research, she can sell ...

Question - suppose that coca-cola is currently paying a

Question - Suppose that Coca-Cola is currently paying a dividend of $2.74 per share, the dividend is expected to grow at a rate of 4% per year, and the rate of return investors require to buy Coca-Cola's stock is 10%. Ca ...

Question consider an online game that is popular in china

Question: Consider an online game that is popular in China. Besides having good skills, players performance also depends on the value of the virtual weapons they have in the game. There are two ways to obtain the virtual ...

Introductory macroeconomics assignment -questions1 suppose

Introductory Macroeconomics Assignment - Questions 1. Suppose that the election of a popular candidate suddenly increases people's confidence in the future. Use the model of aggregate demand and aggregate supply to analy ...

Question - you are in your first semester at college and

Question - You are in your first semester at college and deciding to spend your income between textbooks and food. You have $360 for the month. Textbooks are priced at $20 and food is priced at $10. Your parents decide t ...

Question - suppose an economy is described by the following

Question - Suppose an economy is described by the following aggregate demand and short-run aggregate supply curves. The potential level of output is $10 trillion. Aggregate Quantity of Goods and Services Price Level Dema ...

Question to study a macroeconomy we calculate aggregate

Question: To study a macroeconomy we calculate aggregate quantities in real terms because? 1) it is then easier to take logarithms 2)it is the only way to reconcile the three approaches to measuring GDP 3) we want to get ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As