Write a program that will calculate monthly pay

Assignment Help JAVA Programming
Reference no: EM13168121

Write a program that will calculate monthly pay and expenses for a commercial utility sales person. Sales employees in this company are paid monthly. Each employee is paid a base pay of $1,000 and 9½ % commission on sales. The company deducts 18% of the gross pay for tax purposes.

This is an outline of how the program needs to be written.. A few constants are given

 

Java Program starts here:

import java.util.Scanner;

import java.text.NumberFormat;  

 

/*

author Your Name

*/

 

public class PayAndBudgetProject {

 

public static void main(String[] args) {

 

// TODO code application logic here

 

Scanner sc = new Scanner(System.in);

NumberFormat money = NumberFormat.getCurrencyInstance();

// declare constants

final double BASE_PAY = 1000;

final double COMMISSION_RATE = 0.095;

final double DEDUCTION_PERCENT = 0.18;

final double HOUSING_PERCENT = 0.25;

final double UTILITY_PERCENT = 0.15;

final double FOOD_PERCENT = 0.10;

final double ENTERTAINMENT_PERCENT = 0.35;

final double MISCELLANEOUS_PERCENT = 0.15;

//declare input variables

// declare output variables

 

// get input data

// do pay calculations

// do budget calculations

// output pay results

System.out.println(); // This prints a blank line

// output budget results

}

}

 

 

Reference no: EM13168121

Questions Cloud

Explain the eguation fot the neutralization reaction : write the balance the eguation fot the neutralization reaction between H2 SO4 KCH
Describe if you can use an integrated rate law : explain if you can use an integrated rate law to find the orders of each reactant in a reaction with more than one reactant
Write a program to determine how long (sec.) : Using the v 2  form of drag, write a program to determine how long (sec.) and how far (m) a 150 gram ball whose radius is 3.5cm would fall before it reached 75% of its terminal velocity. Assume ball falls in air whose density is 1.21 kg/m 3 , has a d..
Define how the transition from the enamine intermediate : Explain how the transition from the enamine intermediate to the imine intermediate in the Fischer indole synthesis of 2-phenylindole
Write a program that will calculate monthly pay : Write a program that will calculate monthly pay and expenses for a commercial utility sales person. Sales employees in this company are paid monthly. Each employee is paid a base pay of $1,000 and 9½ % commission on sales. The company deducts 18% of..
Explain what is the structure for the indole : What is the structure for the indole that would be obtained from the phenylhydrazone
Define different compounds of the hypothetical element x : Consider three different compounds of the hypothetical element X using the table of bond lenghts as a reference, rank the three compounds shown below in order of increasing
Design and implement a graphical user interface (gui) : Design and implement a graphical user interface (GUI) that lets a user draw geometric objects such as rectangles, circles or line segments. The geometric objects are two be "entered" with clicks of the mouse
Calculate the ph of distilled water : Calculate the pH of a 25 mL distilled water sample after the addition of 1mL, 2mL, 3mL, 4mL

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