Create a class named printing that will include a method called print details, that will print the customer invoice. In the printing class include another method called customer purchase report which will display the following information: All in Java

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question
100%

Create a class named printing that will include a method called print details, that will print the customer invoice. In the printing class include another method called customer purchase report which will display the following information:

All in Java 

Sample Screenshot 3
Would you like to view the product purchase report? Enter (1)
to view the purchase report or any other key to exit.
O The Independent Institute of Education (Pty) Ltd 2021
Page 3 of 21
19; 20; 21
2021
Sample Screenshot 4 (If the Customer Purchase Report is required)
CUSTOMER PURCHASE REPORT
*****
**.
PRODUCT PRICE: R 5o00.00
2 750.00
TAX:
COMMISSION:
R 425.00
DISCOUNT:
TOTAL:
R 4825.00
**************.
Application Complete
9mp4
collab-recordingC.mp4
collab-recording .mp4
collab-recording (.mp4
ere to search
近
Transcribed Image Text:Sample Screenshot 3 Would you like to view the product purchase report? Enter (1) to view the purchase report or any other key to exit. O The Independent Institute of Education (Pty) Ltd 2021 Page 3 of 21 19; 20; 21 2021 Sample Screenshot 4 (If the Customer Purchase Report is required) CUSTOMER PURCHASE REPORT ***** **. PRODUCT PRICE: R 5o00.00 2 750.00 TAX: COMMISSION: R 425.00 DISCOUNT: TOTAL: R 4825.00 **************. Application Complete 9mp4 collab-recordingC.mp4 collab-recording .mp4 collab-recording (.mp4 ere to search 近
TAX
15%
COMMISSION
8.5%
DISCOUNT
10%
TOTAL
(Price +Tax)-(Discount + Commission)
In your main class, capture all the customer purchase details required to produce the reports.
Sample Screenshot 1
Enter the customer number >> 10111
Enter the customer first name >> Alex
Enter the customer suname >> Jones
Enter the product >> Guitar
Enter the product price >> 5000
Enter the quantity required > 2
Sample Screenshot 2
CUSTOMER INVOICE
CUSTOMER NUMBER:
CUSTOMER FIRST NAME Alex
CUSTOMER SURNAME
10111
Jones
PRODUCT PRICE:
R 5000.0
PRODUCT QUANTITY:
p4
collab-recording(.mp4
collab-recording (.mp4
O collab-recording (.mp4
search
Transcribed Image Text:TAX 15% COMMISSION 8.5% DISCOUNT 10% TOTAL (Price +Tax)-(Discount + Commission) In your main class, capture all the customer purchase details required to produce the reports. Sample Screenshot 1 Enter the customer number >> 10111 Enter the customer first name >> Alex Enter the customer suname >> Jones Enter the product >> Guitar Enter the product price >> 5000 Enter the quantity required > 2 Sample Screenshot 2 CUSTOMER INVOICE CUSTOMER NUMBER: CUSTOMER FIRST NAME Alex CUSTOMER SURNAME 10111 Jones PRODUCT PRICE: R 5000.0 PRODUCT QUANTITY: p4 collab-recording(.mp4 collab-recording (.mp4 O collab-recording (.mp4 search
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage