Demonstrate the use of conditional and looping structures

Assignment Help JAVA Programming
Reference no: EM13753893

Modify the Week Two JavaTM application using JavaTM NetBeansTM IDE to meet these additional and changed business requirements:

The company has recently changed its total annual compensation policy to improve sales.

A salesperson will continue to earn a fixed salary of $51,000. The current sales target for every salesperson is $120,000

The sales incentive will only start when 80% of the sales target is met. The current commission is 13% of total sales.

If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.25.

The application should ask the user to enter annual sales, and it should display the total annual compensation using the mask $999,999.99.

The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salesperson's annual sales, until it reaches 50% above the salesperson's annual sales.

Sample Table: Assuming a total annual sales of $100,000, the table would look like this:

Total SalesTotal Compensation

105,000<<Program calculated value>>

150,000<<Program calculated value>>

The JavaTM application should also meet these technical requirements:

The application should have two classes; at least one class in addition to the application's controlling class.

The source code must demonstrate the use of conditional and looping structures.

There should be proper documentation in the source code.

Submit your assignment using the Programming Assignment Sheet (see course materials folder for template).

- Remember to include some information regarding the design of your program.
- Copy and Paste your code text into the Source Programs section and a screen shot of the results in the Output section.
- Include these scenarios in your output: Annual Sales = 80,000, 120,000, 150,000
- Describe how you tested the application in the testing section.

Remember that your program must follow the coding conventions found in the Java Coding Conventions document.

Reference no: EM13753893

Questions Cloud

Summary of who olympe de gouges is : Summary of who olympe de gouges is?
Mission and the vision of current ceo : • Identify their mission and the vision of their current CEO • Assess the macro environment (specific to the industry not to the firm) or PESTEL analysis
Which three naval portscdid the union want to blockade : Which three naval portscdid the Union want to blockade?
What was nato and what was its purpose : What was NATO and what was its purpose?
Demonstrate the use of conditional and looping structures : The application should have two classes; at least one class in addition to the application's controlling class. The source code must demonstrate the use of conditional and looping structures.
Why did the great depression las for so long : What is the great depression? Which were the main cause of the great depression? Why did the great depression las for so long?
Identify the common targets of malware : Identify the common targets of malware. Explain why these targets are so attractive to hackers and what they benefit from each. Determine the best practices that should be implemented by the security department to help reduce the risks of malware i..
Innovation and change and project management : How is Innovation and change and Project Management linked?
Why was st thomas more executed : Why was st. Thomas More executed?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Development of an automated atm machine using java

Development of an Automated ATM Machine using Java - The ATM application stack shall be loaded to a fully-equipped ATM machine with complete CPU power, chip card reader, secure crypto-processor, display monitor, function keys, in-built printer and ..

  Create a class called numberset

You need to create a class called NumberSet.  It needs an empty default constructor and an overloaded constructor that takes an integer argument and creates a vector with that many random numbers in it.  So... if I created

  Write a java program to read sequences of integers from a

write a java program to read sequences of integers from a text file build a binary search tree for each sequence by

  Reads contents of two vectors

Write a program that reads contents of two vectors, and then displays the sum of these two vectors. The program should prompt the user to enter the size of the vectors first.

  Class named stock to model a stock

Write a class named Stock to model a stock. The properties and methods of the class are shown in Figure 6.22. The metho changePercent computes the percentage of the change in the current vs. the previous closing price.

  Design a java program that simulates a slot machine

Instead of displaying images, the program will randomly select a word from the following list: Cherries, Oranges, Plums, Bars, and Bells. The program will select and display a word from this list three times.

  Describe how an eavesdropped can gain access

Describe how an eavesdropped can gain access to the remote server with a relatively modest number of guesses ( Hint:  The eavesdropped starts guessing after the original user has typed all but one character of the password.

  Java gui application

Assume the existence of the following Java GUI application. There are two text fields for user input. The first JTextField variable is named radius and is used to input a radius value.

  Client class to test implementation of the vector class

Write a client class to test your implementation of the Vector3D class thatyou implemented. Name the package in which this class is defined (projectname) vector3dapp.

  Prepare an address book to save the complete information

Prepare an address book to save the complete information of the person - Define the class Address that can store a street address, city, state, and zip code. Use the appropriate methods to print and store the address.

  What are the values of these boolean expressions

Describe the steps for inserting a new item at the head of a linked list? Make sure you consider all possible incoming conditions.

  Java program to compute invoice for client

You need a java program to compute the invoice for client and then print out invoice to the screen. The consulting rate is $200 per hour.

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