Netbeans integrated development environment

Assignment Help Basic Computer Science
Reference no: EM131237585

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

Questions Cloud

Program to implement the simulation of life : Write a program to implement the simulation of life as described in Scientific American by Martin Gardner. The program will be implemented on a two dimensional surface of size 60 by 60 visible elements. The rules of the simulation are as follows:
Develop an initial budget for your plan : Prepare a pie chart showing the dollars/percentages budgeted for each included marketing activity for the first year. Provide justification for your choices. Explain the evaluation and control methods you will use to measure the success of your plan.
What can be said about age of a rock that contains fossil : Suppose that one species of index fossil lived between 410 and 380 Mya and another lived between 440 and 350 Mya. What can be said about the age of a rock that contains fossils of both species?
The accounting treatment of stock options is crazy : We estimated the value of each option on the grant date to be $5. At our year-end the stock price had fallen to $4, but we were still stuck with a $50 million charge to the P&L.'' -  Discuss.
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:
Why are you skeptical of that claim : At a jewelry show, you overhear a person looking at an amber brooch say that she wishes it contained an insect so that she would have a fossil. What error is she making?
Why do you realize that artistic license is being taken : Your friend shows you a cow bone dug up from a field on his farm and declares the bone to be a fossil. Do you agree? Why or why not? You see a comic strip in which cavemen and dinosaurs are shown coexisting. Why do you realize that artistic licens..
What is the expected life for the employee stock option : What is the (risk-neutral) expected life for the employee stock option in Example?-  What is the value of the option obtained by using this expected life in Black-Scholes- Merton?
What era the rocks are from and how old the fossils are : While on a nature hike, you come upon a rock quarry whose shale rock contains fossils of crinoids, brachiopods, and trilobites. Your companion asks you what era the rocks are from and how old the fossils are. In light of this assemblage of fossils..

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