Netbeans integrated development environment

Assignment Help Basic Computer Science
Reference no: EM131243825

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

Questions Cloud

What are the three basic functions of money : What are the three basic functions of money? Describe how rapid inflation can undermine money's ability to perform each of the three functions.
What are the components of the m1 money supply : What are the components of the M1 money supply? What is the largest component? Which of the components of M1 is legal tender? Why is the face value of a coin greater than its intrinsic value? What near-monies are included in the M 2 money supply?
What backs the money supply in the united states : What "backs" the money supply in the United States? What determines the value (domestic purchasing power) of money? How does the purchasing power of money relate to the price level? Who in the United States is responsible for maintaining money's p..
Discuss the mass media impacts : Discuss the mass media impacts that are related to your chosen product and the advertising campaign. Examine the campaign from at least 2 theories, research approaches, or perspectives.
Netbeans integrated development environment : 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 factor..
How does it explain each person life and life choices : Apply one of the sociological perspectives (structural-functional, social-conflict, or symbolic-interaction) to the individuals' lives. Why did you choose this particular perspective? How does it explain each person's life and life choices?
What is the value of the dollar : Suppose the price level and value of the dollar in year 1 are 1 and $1, respectively. If the price level rises to 1.25 in year 2, what is the new value of the dollar? If, instead, the price level falls to .50, what is the value of the dollar? What..
Explain the negative aspects of friendship : Explain the notion of friendship in C++. Explain the negative aspects of friendship.
How is the chairperson of federal reserve system selected : What is meant when economists say that the Federal Reserve Banks are central banks, quasi-public banks, and bankers' banks? What are the seven basic functions of the Federal Reserve System?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Implementing a poison pill antitakeover measure

Describe the basic mechanics of implementing a Poison Pill antitakeover measure. Explain the benefits of a Poison Pill provision. Explain why Poison Pills provisions often result in reduced Stockholder wealth.

  Illustrate how to overload the operators

Use the class rectangletype to illustrate how to overload the operators

  Verify that the test statistic is equal to 2.3

For the Caucasian male face, y¯ = 15.0% and s = 25.1%. The researchers reported the test statistic (for the test of the null hypothesis stated in part a) as 4.23 with an associated p-value of approximately 0. Verify and interpret these results.

  Demand for goods

How many units of good 1 and good 2 will Bart demand? As his income keeps increasing, how would it affect demand for both goods?

  Describe the details of the working of any practical idps

Describe the details of the working of any practical IDPS (e.g. Snort, Tripwire). Include actual commands and screenshots. Include references and proper citations.

  How do you group data in sql

How do you group data in SQL? When you group data in SQL, are there any restrictions on the items that you can include in the SELECT clause? Explain.

  Difference between process quality and product quality

Discuss if quality processes alone can produce a quality product. What is the difference between process quality and product quality? Name some of the standards for software development projects.

  Under a mle-estimated unigram probability model

Qatar university, the largest university in qatar, aims to become the role model university in qatar and the arab region. it is also the only university in qatar that offers information retrieval courses.

  Write a function named location_of_largest

then the function should return the integer 2 as its value. If there is more than one cell containing the largest of the values in the array, then the function should return the smallest of the subscripts of the cells containing the largest values..

  What is accumulated inventory when dealing with inventories

What is accumulated inventory when dealing with inventories?

  Computer program that inputs a degree

Write a computer program that inputs a degree of difficulty and seven judges' scores, and outputs the overall score for that dive. The program should ensure that all inputs are within the allowable data ranges

  Built-in function datenum or datetime

If they are erroneous, return -1. An example call to the function would be >> dd = day_diff(1,30,2,1); which would make dd equal 2. You are not allowed to use the built-in function datenum or datetime.

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