Create a class named Billing that includes four…..solved

$20.00

Category:

Description

5/5 - (3 votes)

Create a class named Billing that includes four overloaded computeBill()methods for a photo book store.•When computeBill() receives a single parameter, it represents the price ofone photo book ordered. Add 8.5% tax, and return the total due.•When computeBill() receives two parameters, they represent the price of aphoto book and the quantity ordered. Multiply the two values, add 8.5% taxand return the total due.•When computeBill() receives three parameters, they represent the price ofa photo book, the quantity ordered, and a coupon value. Multiply thequantity and price, reduce the result by the coupon value, and then add8.5% tax and return the total due.•When computeBill () receives four parameters, they represent the price ofa photo book, the quantity ordered, a coupon value, and a weekly discount.Multiply the quantity and price, reduce the result by the coupon value plusthe weekly discount, and then add 8.5% tax and return the total due.Write a main () method that tests all three overloaded methods. Save theapplication as Billing.java.Please submit the source code for your program along with a word documentthat includes screen shots of the compiled results and executed output. Thepage margins on the top, bottom, left side, and right side should be 1 incheach