Question: a bakery shop in downtown sells bread. Write a class called customer which displays customer name, quantity of bread, unit price and amount paid by
a bakery shop in downtown sells bread. Write a class called customer which displays customer name, quantity of bread, unit price and amount paid by him
Amount paid by customer= Unit price * Quantity
Create another class called "test" with main method and test the class created above using the data below.
Name: Jordan Hogans, Quantity 2, unit price:$5.00
Name: Justin walton Quantity 5, unit price:$5.00
Use best practices of object oriented Programming. You can use one or more getters, setters, constructors, and classes..etc.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
