Netbeans integrated development environment

Assignment Help Basic Computer Science
Reference no: EM131240033

Looking for an example to help me solve this, having problems with mine. 

Write a Java application using NetBeans Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors:

  • A salesperson will earn a fixed salary of $12,000 per year.
  • A salesperson will also receive a commission as a sales incentive. Commission is a percentage of the salesperson's annual sales. The current commission is 7% of total sales.
  • The total annual compensation is the fixed annual salary plus the commission earned.

The Java application should meet these technical requirements:

  • You are not allowed to use any static variables. Your main() method is static, and that's okay.
  • The application should haveexactlyone class. So, the week 2 NetBeans project will look a lot like your week 1 project.
  • Call your project (and class) CommissionCalculatorApp.
  • Your code must ask the user to enter the total sales amount. This should be a matter of 1) displaying a prompt, such as "Enter annual sales: ", and 2) reading the next value from the keyboard. See the
  • Use System.out.println foralloutput, donotuse gui stuff. Likewise, use the Scanner class for reading keyboard input. You might have to look ahead, or on the internet, so see exactly how to use the Scanner class. Or, even better, ask in class!
  • You should modify your "main()" method to 1) prompt the user for input, such as total annual sales, 2) calculate the commission, and 3) calculate total annual compensation, and 4) display the results of the calculations.
  • You are not allowed to "hard code" the commission rate in your code. That is, you must have a commission rate variable.
  • Even though this is called a CommissionCalculator, do not create a 10-button calculator.
  • There should be proper documentation in the source code. That means you should add comments to your code to explain what you're doing.
  • The application(in the "main()" method) should ask the user to enter annual sales, and it should display the commission earned, the commission rate, and the total annual compensation.
  • Use parentheses to explicitly specify the order of operations. Ask questions if you have any.
  • Display all pertinent data to the user, such as commission rate and so on.
  • Format your output correctly. For example, display of money data should have a $ precede the amount; commas NOT necessary; display cents as expected.

Reference no: EM131240033

Questions Cloud

Implement methods for establishing a constructive structure : develop and implement methods for establishing a constructive organizational structure and culture that fosters positive employee and employer relationships
Rewrite every cat drinks beer as an implication : Using truth tables, verify that the converse of a statement is not logically equivalent to the original statement. (Suggestion: make the columns P, Q, P ⇒ Q, and Q ⇒ P, and compare the last two columns.)
Do you think cert should continue to post security holes : Some experts argue that CERT's posting of security holes on its Web site causes more security break-ins than it prevents and should be stopped. - What are the pros and cons on both sides of this argument?
Draw a visual representation of the set {1,2,3}×{4,5} : Let P represent the statement Ximena is pretty, Q represent Ximena is quizzical, and R represent Ximena is a rugby player. Write (P ∨ Q) ∧ R as an English sentence.
Netbeans integrated development environment : Write a Java application using NetBeans Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Consider the following factors:
Risks of downloading unauthorized copies of music files : What is one of the major risks of downloading unauthorized copies of music files from the Internet.
Impact of diploma mills on legitimate educational : What is the impact of diploma mills on legitimate educational institutions? How does one check the credentials of learning institutions to verify legitimacy? What should one look for when selecting an institution of higher learning?
Which four security controls would be your first priority : Suppose you started working as a network manager at a medium-sized firm with an Internet presence, and discovered that the previous network manager had done a terrible job of network security. - Which four security controls would be your first pri..
How the bsn-prepared nurse can assist a nurse leader : Select one of the eight leadership competencies Huston described and relate it to your own leadership of nurses and nursing. This should promote a robust discussion as we come from different clinical and nonclinical perspectives.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Regards to the order of hierarchy

Q1. With regards to the order of hierarchy, what is the best possible scenario in terms of controlling risk?Q2. What is the hierarchy of control from most to least preferred?

  Investigate and discuss how data is structured

Choose any two of the problem areas and discuss in detail how the database approach solves the problem when compared to alternative approaches.

  Tcp performance-opnet assignment

Duplicate the scenario and rerun the simulation using client TCP window sizes of 16 KB, 24 KB, 32 KB, 48 KB, and 64 KB. To change the buffer size, Right click on the FTP Client, and choose Edit Attributes. Expand the TCPa`TCP Parameters attribute ..

  What is fragmentation transparency

What is data fragmentation? What purpose does data fragmentation serve?

  Question regarding the project or ongoing operation

Briefly describe one or two of your current work assignments and determine whether they are projects or ongoing operations. Document your reasons for describing the assignment as a project or ongoing operation.

  Research and pick one organization

Research and Pick ONE organization that can you conduct a risk assessment on. It can be any organization or company of choice. For the case study, you are pretty much creating your risk assessment report.  Case Study 1 is the first section of that re..

  What is the pmf of b

What is the PMF of B?

  Write the code that reads an integer number called test

Write the code that reads values for a,b,c and displays their sum, repeating this process as long as none of the three values are negative.

  Create an inventory of the software products

Create an inventory of the software products installed on the server and check the manufacturers' websites for updates, availability of upgrades, and announcements regarding support for Windows Server 2012 R2.

  What avenues aspiring information security professional

What avenues should an aspiring information security professional use in acquiring professional credentials

  Specific needs in developing the communication plan

Utilize examples from your text or examples online that meet your specific needs in developing the Communication Plan for the Project that will substantively explain, and analyze the positive contributions to the success of the project.

  Writes the results to an output file

Write a C program that reads binary numbers from an input file, converts them to base-10, and writes the results to an output file.

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