Answer to Question #59374 in Java | JSP | JSF for Nithya
The cashier class must have an ArrayList of fruits, a method called getTotalCost() will return the cost of all the fruit objects in the list, and getTotalTax() will return only the total taxes of the fruits in the list. You must use the constant TAX_RATE in the Consts.java file to get that rate and calculate the taxes properly. The constructor of this class must take the shop name. This shop name will be printed in the receipt eventually.Round Prices to nearest 2 digit decimal points in both of these methods. A getTotalTax() that results in 3.432 will not be accepted. Here, the number should be 3.43.You must also override toString() method and return a user-friendly receipt of all the items in the basket in this cashier.
AssignmentExperts are exactly what their name says. It was my first time using an assignment assistant and they simply were amazing, in the future if I ever need help I will be only using AssignmentExperts. Thank yall so much for excellent customer service and the great quality of work produced. Look forward to working with you in the future with any assignment assistant needs I have.