Your instructor would like you to write a program in Java which would ask for the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Your instructor would like you to write a program in Java which would ask for the clerk to enter the total amount of the customer's order. The program will then calculate a seven percent (7%) sales tax. Commission is computed based on the following: order amount id="mce_marker" - $200 commission is 2%, order amount $201 - $400 commission is 3%, order amount $401 - $600 commission is 4%, order amount > $600 commission is 5%, The program will display the following: a) The amount of customer's order (eg. $500.00 or id="mce_marker",000.00) b) The tax amount c) The total amount including tax added d) Commission Amount e) The customer will make five orders, display the average of the total order and the sum of all orders. You must use at least two methods. Write the output to a file named "Order.txt" The program should also display "Thanks for your business and please come again." Output The amount of Customer's order $XXX, XXX.XX The tax amount is: The total Amount plus Tax is Average order is Sum of the order is $XXX.XXX.XX $XXX,XXX.XX $XXX,XXX,XX $XXX,XXX.XX Your instructor would like you to write a program in Java which would ask for the clerk to enter the total amount of the customer's order. The program will then calculate a seven percent (7%) sales tax. Commission is computed based on the following: order amount id="mce_marker" - $200 commission is 2%, order amount $201 - $400 commission is 3%, order amount $401 - $600 commission is 4%, order amount > $600 commission is 5%, The program will display the following: a) The amount of customer's order (eg. $500.00 or id="mce_marker",000.00) b) The tax amount c) The total amount including tax added d) Commission Amount e) The customer will make five orders, display the average of the total order and the sum of all orders. You must use at least two methods. Write the output to a file named "Order.txt" The program should also display "Thanks for your business and please come again." Output The amount of Customer's order $XXX, XXX.XX The tax amount is: The total Amount plus Tax is Average order is Sum of the order is $XXX.XXX.XX $XXX,XXX.XX $XXX,XXX,XX $XXX,XXX.XX
Expert Answer:
Answer rating: 100% (QA)
Heres a Java program that implements the described functionality impo... View the full answer
Related Book For
Foundations of Finance The Logic and Practice of Financial Management
ISBN: 978-0132994873
8th edition
Authors: Arthur J. Keown, John D. Martin, J. William Petty
Posted Date:
Students also viewed these programming questions
-
Microkernel operating systems aim to address perceived modularity and reliability issues in traditional "monolithic" operating systems. (i) Describe the typical architecture of a microkernel...
-
How many bracketings of length 2n will there now be? 1 [TURN OVER CST.93.2.2 2 Two teams A and B play a match in which the winner is the first team to win n games. If A needs i games to win and B...
-
What are the advantages and disadvantages of seismic reflection data sets?
-
Selected ratios for the current year for two companies in the office supplies industry, Bureau Nouveau Inc. and Supplies Unlimited Corp., follow: Instructions (a) Both companies offer their customers...
-
An increasing number of Americans are moving to a warmer climate when they retire. To take advantage of this trend, Sunny Skies Unlimited is undertaking a major real estate development project. The...
-
Two conspirators, Timothy Carpenter and Timothy Sanders, were charged with aiding and abetting a robbery affecting interstate commerce and the use or carriage of a firearm. At trial, the FBI...
-
A local television station plans to drop four Friday evening programs at the end of the season. Steve Botuchis, the station manager, developed a list of six potential replacement programs. Estimates...
-
A 47-kg pole vaulter running at 10 m/s vaults over the bar. Her speed when she is above the bar is 1.5 m/s. Neglect air resistance, as well as any energy absorbed by the pole, and determine her...
-
On 1 January 20x1, Delphi Company issued 4% convertible bonds with a face value of $10,000,000 at par. The bond matured on 31 December 20x5. The bond was convertible into ordinary shares of Delphi...
-
Question 1 50.Which of the following metals does not react with hydrochloric acid. Hg OPb O Hg O Cr 5 pts 4 M
-
This case concerns a state-owned enterprise (SOE), the Third Electronic Power Construction Company located in Shan Xi Province, China. This SOE was established in 1978, and is responsible for...
-
Sugarcane Company incurs handling costs totaling $15 million and purchasing costs of $4 million. Inventoriable general and administrative costs related to handling and purchasing totals $1 million....
-
Howell Petroleum is considering a new project that complements its existing business. The machine required for the project costs 2 million. The marketing department predicts that sales related to the...
-
Berry Co. started business in 2018. Its ending inventory was $150,000 at base-period prices. It uses the simplified dollar-value LIFO inventory method and the price index was 130% in 2018. Its ending...
-
Falzone Inc. uses the dollar-value LIFO method to account for its inventory. Inventory on January 1, 2019, was $30,000 at base-year prices. Inventory on December 31, 2019, was $63,000 at actual...
-
Estimate the quantity of cement, sand and gravel needed for the stairs and landings shown below, using Class A concrete mixture (40kg/concrete). Use a 5% allowance for wastage. -0.0 THICK CONCRETE...
-
Presented below are income statements prepared on a LIFO and FIFO basis for Kenseth Company, which started operations on January 1, 2024. The company presently uses the LIFO method of pricing its...
-
Explain the term opportunity cost with respect to the cost of funds to the firm.
-
Destination Hotels currently owns an older hotel on the best beach-front property on Hilton Head Island, and it is considering either remodeling the hotel or tearing it down and building a new...
-
Bremmer Industries has a price/ earnings ratio of 16.29X. a. If Bremmers earnings per share are $ 1.35, what is the price per share of Bremmers stock? b. Using the price per share you found in part...
-
Define human communication.
-
Perceiving your communication as effective while those around you perceive it as ineffective is known as ______________.
-
Visit any of the websites for major social media companies (Facebook, Twitter, LinkedIn, etc.). Under the About Us section, read the company mission statement and goals for the organization. Do you...
Study smarter with the SolutionInn App