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
-
Determine the indices for the directions shown in the following cubic unit cell: 12 +2 NH 12 15 B N C 12 A +y
-
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...
-
A consumer group claims that the mean minimum time it takes for a sedan to travel a quarter mile is greater than 14.7 seconds. A random sample of 22 sedans has a mean minimum time to travel a quarter...
-
College can be an exciting time. New friends, sporting events, parties. But for many, it can also be a harrowing experience, with a more demanding class and homework regimen and new adult...
-
Green Landscaping Inc. is preparing its budget for the first quarter of 2012. The next step in the budgeting process is to prepare a cash receipts schedule and a cash payments schedule. To that end...
-
Company: Microsoft Corporation Net Income: $1,500 million Depreciation and Amortization: $300 million Changes in Working Capital: $200 million Capital Expenditures: $500 million Calculate the...
-
Stinton Vintage Wine Company is currently family owned and has no debt. The Stinton family is considering going public by selling some of their stock in the company. Investment bankers tell them the...
-
The follow table contains a distribution for the number of cars owned by American families. se this table to calculate the following: X P(X-x) a) The probability a randomly selected family has...
-
You company has been allocated an unlimited budget to move to a virtualization infrastructure. The current IT infrastructure exists on bare metal with no virtualization implemented at all . The...
-
Assume that Pelu Group purchased a piece of land on January 1, 2019, that cost 400,000, paid by cash. The following fair value information is available: Date 12/31/2019 12/31/2020 12/31/2021 Fair...
-
Imogen is one of the youngest residents at Wings, as she is only 16 years of age. Imogen and her younger brother Tim were both placed at Wings at a very young age (14 and 12) because no foster carer...
-
Hodkiewicz Limited is preparing a cash budget and estimates the following information for the coming period: Beginning cash balance: Cash receipts: Total available cash: Cash disbursements: $36,000...
-
The Square Foot Grill, Incorporated issued $ 2 4 3 , 0 0 0 of 1 0 - year, 9 percent bonds on January 1 , Year 2 , at 1 0 2 . Interest is payable in cash annually on December 3 1 . The straight - line...
-
the last option says "bioavailability" Which terms are used when discussing pharmacokinetics? Select all that apply. A. Steady state B. Receptor interactions C. Onset and duration D. Polymorphism E....
-
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...
-
Brown Oil Company is the operator of Lease A and Lease B and has a 60% WI in each lease. A piece of equipment, which originally cost $30,000, is transferred from Lease A to Lease B. The current...
-
The Raupe Lease has the following working interest owners: Reed Corporation 50%, League Energy 25%, and Sunshine Oil Company 25%. There is a 1/8 royalty on the lease. On April 1, 2011, Reed...
-
Identify the types of interests that are created in the following situations. If the interest is an overriding royalty or a production payment interest, also state whether it is a retained or...
Study smarter with the SolutionInn App