Display the proper message on that and terminate

Assignment Help Basic Computer Science
Reference no: EM131274851

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: EM131274851

Questions Cloud

Determining the loop-decision structure : Java program showing a Loop, Decision Structure, and an array for a company that sells school supplies to children and prints out a receipt in a console window for the user at the end.
Concerning the market test of the new cups and carriers : Concerning the market test of the new cups and carriers, I have a few suggestions that may be helpful, although the final decision is yours - During the third weekend we'll have someone make a survey at the store to determine its acceptance
What made the individuals professional : Describe and explain what you viewed. Answer the following questions in your response: Were the individuals professional? What made the individuals professional (consider attire, communication skills, presentation of self, etc.)?
Identify the resources required for implementation : Describe the range of available options from which a VPN solution can be selected. Identify the resources required for implementation.
Display the proper message on that and terminate : 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 ..
What is the di¤erence between cast iron and steels : What do A1, A3, and Acm temperatures refer to? Are these temperatures constant?
It personnel when it detects specific conditions : What kinds of alerts can you program your NMS to send to the IT personnel when it detects specific conditions?
Copy visio diagram into the word document : Create an ER diagram using Visio (copy Visio diagram into the Word document) for the following tables: oAIRPORT, MECHANIC, QUALIFICATION, SKILL.
Design a joining process that may minimize these problems : Describe what happens in the heat-affected zone of the weld and discuss the problems that might occur. Design a joining process that may minimize these problems.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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