Assjdbx
Assjdbx
John(88)(10%)
John(88)(8%)
id is: 88
name is: John
discount is: 8
Invoice[id=101,customer= John (88)(8%),amount=888.8]
Invoice[id=101,customer= John (88)(8%),amount=999.9]
id is: 101
customer is: John (88)(8%)
amount is: 999.9
customer's id is: 88
customer's name is: John
customer's discount is: 8
amount after discount is: 919.91
5. Superclass Shape and its subclasses Circle, Rectangle and Square