Accounting Java Application to Calculate Discount Homework Help
Best UK USA UAE Australia Canada China Accounting Java Application to Calculate Discount Homework Help Service Online
Write a java application that calculates and displays the total payable after applying discount on online grocery orders for N customers. The N should be set as a constant (final) in your application and choose a value between 7 and 9.The discount rates are as shown below in Table 1.
Table 1: Discount Details
Purchase Amount Applicable Discount Rate %
Below $75 0%
= $75 and $100 5%
= $100 and $150 7%
= $150 and $200 9%
= $200 11%
The program should ask the user to enter the first name of the customer and the total purchase amount in dollars. The purchase amount should be between 10 and 400. Validate the user input, display error message and allow the user to correct the error by reading two more entries for the purchase amount.
Based on the purchase amount, the program should apply the applicable discount and calculate the total payable amount. The application should display a message with first name, and total payable. At the end of the Nth customer the program should display a summary of purchases displaying the largest purchase amount, smallest purchase amount, total payable for all customers, and total discount amount applied. The format of your input and output must be same as given in example below.
Enter the name for Customer 1: John
Enter the purchase amount for Customer 1: 68
Hi John, the total payable is $68.0
Enter the name for Customer 2: Sally
Enter the purchase amount for Customer 2: 95
Hi Sally, the total payable is $90.25
Enter the name for Customer 3: James
Enter the purchase amount for Customer 3: 140
Hi James, the total payable is $130.20
—————————————-Summary of Purchases—————————————-
Largest purchase amount: $140.00
Smallest purchase amount: $68.00
Total payable from all purchases: $288.45
Total discount applied to all purchases $14.55
The application should be user-friendly by displaying appropriate welcome and exit messages. The following classes and methods could be used.
public class Customer
//declare fields/attributes to store the name and purchase amount
// Accessor, mutator methods (get and set )
// Method to calculate total payable applying discount.
public class CustomerTest
//declare constants required public static void main(String args)
//Loop through taking user input for name and purchase amount and use set methods
//calculate total payable using the defined method
// compute other required values
//print output as shown in the example
Note: Once you complete coding and testing, go through the marking criteria to ensure that your application meets all the requirements.
What to submit
You should submit online the following files
name, course code, UML diagram for the Customer class, and test results (screenshots/test cases with results to show that your application is correctly working).
How it Works?
How it Works?
Step 1:- Want to buy solution for this. Please click on submit your assignment here and then fill all details and please mentioned product code at the end of the case. Product code is extremely important to locate your assignment. You can also mail us by keeping product code as mail subject to email@example.com
Step 2:- As soon as we received your details, we will inform you with through email about quotations of the given assignment. Requesting you to please mention your budget. Also ensure our email firstname.lastname@example.org should not go into your spam folder.
Step 3:- Once you agree with our price, click on pay now and pay the agreed amount and once we received the payment assignment will be delivered before agreed deadline.
Step 4:-You can also call us in our phone no. as given in the top of the home page or chat with our customer service representatives by clicking on chat now given in the bottom right corner.
Our Features for Assignment Help Services
Plagiarism Free Solution
The first and foremost things that we promise to our customer is plagiarism free solution i.e. a complete and unique solution as per customer’s university requirements.
Excellent Customer Care Services
You can feel our responsiveness once you use our service. Our team of excellent and dedicated customer service representatives are always ready to provide best customer care service 24X7 . Just drop a mail to email@example.com and you can receive response in just no time.
Multiple Stage Quality Assurance
We design a unique multiple stage quality assurance team to ensure plagiarism free, original, relevant and as per customer’s requirements. We not only give importance to accurate solutions or writing but also we give equal importance to references style too.
Privacy and Confidentiality
We believe in maintaining complete privacy and confidentiality of all our clients. None of the information furnished to us is shared with anyone else.
We receive requests from clients all over the World. Most of our customers are from USA, UK, Australia, Canada, UAE, Muscat, Oman, Qatar, UAE, New-Zealand, France Germany etc.
- Accounting Homework Help
- Accounting Assignment Help
- Computer Science Homework Help
- Management Homework Help
- Finance Assignment Help
- Online Essay Writing Help
- Strategic management case study help
- Case Study Assignment Help
- Dissertation Writing Help
- Trade finance case study help
- Project Management Assignment Help
- Mechanical Engineering Homework Help
- Online Quiz Help
- Maths homework Help
- Online Exam Help
- Economics Assignment Help
- Economics Homework Help
- English Homework Help
- Macroeconomics Homework Help
- Microeconomics Homework Help
- Statistics Assignment Help
- Australia Taxation Homework Help
- Supply chain management homework help
- Taxation homework help
- USA taxation assignment help
- Advanced accounting homework help online
- Auditing homework writing help
- Human resource management homework help
- Nursing homework help online
- Psychology homework help online
- Sociology homework help online
- Ratio analysis homework help online
- Strategic Management Homework Help Online
- Mba operations management homework help
- Human resource management homework help
- Operations management homework help
Assessment marking criteria
1 Variables, constants and types
Declaring and using variables and constants
2 Objects and classes
Creating/declaring classes and using objects and methods
Using loops and conditions
4 If statements
Using if statements and conditions
Declaring and using main method
Declaring and using other methods
6 Inputs and Outputs
Reading and displaying data
Applying discount and calculating total Payable for each customer
Computing and displaying summary of purchases
7 Overall logic and program
Spacing and indentation conventions
User-friendly (welcome and exit messages)
Product Code: ACC557
Looking for Accounting Java Application to Calculate Discount Homework Help, please submit your details here with product code mentioned above.