Write a java application that prompts a user for a fist name

Assignment Help JAVA Programming
Reference no: EM131578879

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

Questions Cloud

Access the interactive media piece : Access the interactive media piece, "Social, Behavioral, and Cultural Factors in Public Health: Increasing Cultural Competency."
Problem related to the game show : You are a contestant in the game show "Let's make a Deal." In this game show, there are three curtains. Behind one of the curtains is a new car.
What is the best business model for the small business : What is the best business model for the small business or startup you have chosen? Briefly describe three different business models.
What types of barriers-disparities existed : Reflecting on your childhood, what types of barriers/disparities existed that limited your ability to lead a healthier life?
Write a java application that prompts a user for a fist name : 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.
Write program that prompts the user to enter the first digit : Write a program that prompts the user to enter the first 9 digits and displays the 10 digit ISBN( including leading zeros) . Your probram should read the input
Compute the variance for the number of right answers : Compute the variance for the number of right answers when we answer one question with probability .8 of getting the right answer.
Write an application that prompts an employee : Write an application that prompts an employee for an hourly pay rate and hours worked. Compute gross pay (hours times rate), withholding tax, and net pay
Discuss the system''s characteristics : discuss the system's characteristics, its application and use in that society

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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