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

  Economics assignment

This document contains various important questions and their appropriate answers in the subject field of Economics.

  Demand and supply curves

Economics is the study of the principles governing the allocation of scarce means among competing ends when the objective of the allocation is to maximize the attainment of the ends.

  Long-run perfectly competitive equilibrium for the firm

Evaluate Government intervene and correct this situation?(a) Explain the concept of a concentration ratio. A rise in the price of magarine Explain the impact of external costs and external benefits on resource allocation long-run perfectly c..

  Supply and demand diagrams

Explain each of the following using supply and demand diagrams,  With the use of a graph, explain how these two programs affect cigarette consumption and the price of cigarettes.

  Case study: fisher-price toys

The case study of the Fisher-Price Toys, Inc., a popular case in basic economics and management from the prestigious Harvard Business School.

  Draw the production possibility curve

Draw the production possibility curve and a. Define consumer surplus and producer surplus.

  Tax revenue

The Australian government administers two programs that affect the market for cigarettes

  Maximize total welfare

How many tickets to sell to maximize total welfare.

  Difference between the cv and the ev

The change in consumer surplus (?CS) is not "theoretically" justifiable like the CV and EV but it continues to be the most widely used measure of consumer welfare change. Explain how this can be reconciled

  Depict von neumann-morgenstern utility index u in a diagram

Depict the von Neumann-Morgenstern utility index u in a diagram

  What is the market solution

What is the market solution (market price and quantity) and What is the total surplus of the society under the market solution

  Calculate gross national product and net national product

Calculate gross national product and net national product

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