Java-netbeans assignment

Assignment Help Business Economics
Reference no: EM131427166

This is my Java/NetBeans assignment. I am going to try to work it out on my own, but if my code doesn't work, I'd like to have the correct code to reference:

  • Only use the default file for your code - do not create a new class!
  • Add a constant value for the tax rate - 8%
  • In the 'main' method file add the following:
    • Using the JOptionPane Class, ask the user for the cost on an item.
      • Use this answer for the rest of the program 
      • Do not create three JOptionPanes, only one for user input and one for output.
    • Convert the users answer to a double number.
    • Create one string that has results from all three methods (method requirements are below)
    • Create one JOptionPane to display the results. For example - if the user enters 35.25, the output could look like this:
  • Create three overloaded methods each with the name ComputeBill that will do the following:
    • First overloaded method - Calculate the cost including tax
      • Pass the cost of the item
      • Calculate the taxes on the item based on the tax rate.
      • Return thecost including tax
    • Second overloaded method - Calculate the cost including tax for 4 items
      • Pass the cost of the item and the number of that item sold
      • You do not have to ask the user for this number, just pass 4 for the quantity.
      • Calculate the taxes on the items based on the tax rate.
      • Return thecost including tax for 4 items
    • Third overloaded method - Calculate the cost including tax for 4 items with a $20 coupon
      • Pass the cost of the item, the number of that item sold, and the the coupon value.
      • You do not have to ask the user for this number, just pass 20.00 for the coupon value.
      • The coupon amount is removed from the cost BEFORE you calculate the tax.
      • Calculate the taxes on the items based on the tax rate.
      • Return thecost including tax for 4 items with a $20 coupon.

Reference no: EM131427166

Questions Cloud

How did these events change press coverage of politicians : During the Watergate scandal in 1974, many policy pundits wrote columns demanding that President Richard Nixon resign from the presidency because he was, in their view, clearly culpable for the Watergate break-ins. Not all pundits felt this way, h..
Enterprise information systems : Assuming that the various activities that need to be performed in the manufacturing process are considered labor operations, draw a value chain level diagram that thoroughly depicts the duality relationships between paired events that lays behi..
Enterprise information systems : Answer these questions with concision and precision: Why integration within an enterprise information system (EIS) is needed? What makes, from EIS integration, a challenge?
What is the rate of interest on the bank loan : A bank loan to the Knowledge Company has a 50 basis point spread to LIBOR. If LIBOR is at 6 percent, what is the rate of interest on the bank loan?
Java-netbeans assignment : Create one string that has results from all three methods (method requirements are below) Create one JOptionPane to display the results. For example - if the user enters 35.25, the output could look like this:
Evaluate the information presented in the article : Present a 2-3 page assessment comprising of a precise and critical evaluation of the attached peer reviewed article. Do not summarize the article. Evaluate the information presented in the article.
What are the first three interest payments on the loan : Assume that LIBOR is at 9 percent on March 4, 1999, 8.75 percent on September 4, 1999, and 9.125 percent on March 4, 2000. What are the first three interest payments on the loan? When are they paid?
Discuss the protected information for both coppa and cipa : The Children's Online Privacy Protection Act (COPPA) and the Children's Internet Protection Act (CIPA) are both intended to provide protections for children accessing the Internet. However, they both have had some opposition. Describe the main co..
Improve the quality of key assignment : Attach your UML Class Design document to your main discussion post, and include any notes that you feel are appropriate in the post. The purpose of this assignment is to help improve the quality of your Key Assignment.

Reviews

Write a Review

Business Economics Questions & Answers

  Analyze the issue using the economic concepts

Select a news article dated within the previous two months and analyze the issue using the economic concepts and theory learned in this class. Include at least one graph developed in our course.

  Got a lot of consumer surplus from her purchases

If your neighbour returns from a shopping trip saying that she got a lot of consumer surplus from her purchases

  What are influence of changes in policies

Illustrate what are influence of following changes in policies on private saving and national saving. New policy: Increase in government purchases by $100 and taxes by $80. (MPC=0.7) Estimate amount of changes.

  What factors might account for the increase in the earnings

What factors might account for the increase in the earnings of college-educated workers vis-vis high school graduates and dropouts over the last three decades?

  Principal pillars of finance-banking and securities

Offshore banking is largely unprotected by the safety net national governments have imposed to prevent domestic bank failures. Compare and contrast international regulatory cooperation in the two principal pillars of finance: banking and securities.

  What is the ease of doing business in your chosen country

What is the ease of doing business in your chosen country? Are other countries wanting to invest in your chosen country? Why or why not?

  Discrimination to sell cologne under two different lables

A firm uses third-degree price discrimination to sell the same cologne under two different labels. The price elasticity of demand for `High Class' is -1.25. The price elasticity of demand for `Splash-This-Stuff-On' is -2. Which one of the following s..

  Effectively end the french republic

A It reinstated the monarchy, gave renewed powers to the Catholic church, and suppressed all political dissent B It made Napoleon emperor of France with near absolute power to govern;

  An end- of- aisle price

An end- of- aisle price promotions changes the price elasticity of a good from - 2 to - 3. If the normal price is $ 10, what should the promotional price be?

  Consider the discrete bertrand game described

Consider the discrete Bertrand game described in the Oligopoly lecture notes/video. According to the rules of this game each student selects a number from the set {0,1,2, 3, 4, 5, 6, 7, 8, 9, 10} and is randomly matched with another student. What num..

  Equivalent to the series of maintenance costs

Costs for maintaining buildings at an industrial complex over a 13-year period are expected to be $3,932 in year 1, increasing at the rate of 15% per year through year 13. At an interest rate of 15% per year, what present worth (at time 0) is equival..

  Considering the purchase of an established business

Suppose you are considering the purchase of an established business that has the expected profit stream noted below. If want a 20% return on you investment, what is the maximum amount you should pay for the property?

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