Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your instructor would like you to write a program in Java which would ask for the clerk to enter the total amount of the customers

Your instructor would like you to write a program in Java which would ask for the clerk to enter the total amount of the customers 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 customers 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 Customers order $XXX, XXX.XX The tax amount is: $XXX,XXX.XX The total Amount plus Tax is $XXX,XXX.XX Average order is $XXX,XXX,XX Sum of the order is $XXX,XXX.XX

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions

Question

Write the difference between sexual and asexual reproduction.

Answered: 1 week ago

Question

What your favourite topic in mathematics?

Answered: 1 week ago

Question

Briefly describe vegetative reproduction in plants.

Answered: 1 week ago