Message on that and terminate the application

Assignment Help Macroeconomics
Reference no: EM131271567

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.

Reference no: EM131271567

Questions Cloud

Elements of list that are greater than splitpoint : Define the predicate split/4 (List, SplitPoint, Smaller, Bigger) where List, Smaller, and Bigger are lists of integers, and SplitPoint is an integer, such that all the elements of List that are less than SplitPoint are elements of Smaller, and all..
Describe original innovative business model : Dell is a major player in the computer industry. Michael Dell pioneered the direct selling system that catapulted the firm to the top position in the industry. Describe Dell’s original innovative business model and explain the roles played in it by o..
Assignment regarding with the python programming : Please help with my Assignment regarding with the python programming through the game which contain 4 players having different look up. Design the clothes and make a full game with emulators.
Discuss need for alternative energy sources : Discuss need for alternative energy sources. Describe options: Nuclear Energy, Solar Energy, Geothermal Energy etc.
Message on that and terminate the application : 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 ..
Identify the problems that appear to exist in ferguson : Identify the problems that appear to exist in Ferguson & Son Manufacturing Company's budgetary control system and explain how the problems are likely to reduce the effectiveness of the system
Calculate the average growth rate : Calculate the average growth rate. Which industry has shown the greatest "technological improvement" over the period? Which one has shown the least?
Unsuccessful examples of crisis management : The success of any business or organization rests firmly on their reputation. Take a field trip to the Internet. Find information on one of these unsuccessful examples of crisis management: Ford and Firestone, Exxon, BP oil spill, Japan's nuclear rea..
Discuss the impact of ukraine crisis : Research question discuss the impact of ukraine crisis on eu and eu russia relations - The new assignment pls google journal articles related ukraine crisis on eu

Reviews

Write a Review

Macroeconomics Questions & Answers

  How would a strong union shift the labor supply curve

Explain how the method used to determine the profit- maximizing level of output in product markets (i.e., MR = MC) can be applied to the labor market to determine the most profitable number of employees a firm should hire.

  Create an alignment of incentives

Providers create a demand beyond the amount the well-informed consumer would have chosen. How do we create an alignment of incentives that creates the best possible outcomes for the provider, supplier and the patient?

  Ratio of income to capital in two countries

1. What is the ratio of income to capital in these two countries? 2. What is the saving rate in country Z? 3. What is the growth rate of capital per worker in country A?

  Perform common operations

1) MATLAB has several types of built-in math functions that can help you perform common operations. a) Write the MATLAB code that takes the absolute value of -134.

  Modern graph & prediction of aggregate supply & demand curve

write a paper explaining my assessment of the current aggregate demand and aggregate suppy curves; my prediction and prescription for the near future.

  Demand supply and market equilibrium

Exchange and markets, Demand supply and market equilibrium

  Suppose households believe that greater government borrowing

Suppose households believe that greater government borrowing today implies higher taxes to pay off the government debt in the future. What does this belief do to private saving and the supply of loanable funds today?

  Increase in the depreciation rate

Use the Solow model, the Solow-model diagram and the capital accumulation equation to explain what happens to the following if there is an increase in the depreciation rate:

  Statements of predicate calculus

Question: Translate the following English sentences into statements of predicate calculus that contain double quantifiers and explain whether it is a true statement.

  What amounts of capital and labor inputs should be used by

Suppose that 3M has the production function q=KL, and the input prices are given by r=$2, w=$3. The 3M wants to produce 600 unit of output and minimize cost of production.

  How many employees a profit maximizing business could hire

Your personalized sweatshirt business requires you to hire specially trained employees, so you are a monopsonist. Remember that you must pay everyone the same wages. There is no discrimination.

  Decision-making process and the final decision

Discuss the major codes of ethics of the stakeholders involved in the issue and how these codes will affect the decision-making process and the final decision.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd