Question: Create a class named BookBilling that includes three overloaded computeBill ( ) methods for the Happy Memories Company, which sells photo books. ~When computeBill (
Create a class named BookBilling that includes three overloaded computeBill methods for the Happy Memories Company, which sells photo books.
~When computeBill receives one parameter, it represents the price of the photo book. The method takes the price of the photobook and adds an tax and returns the total due.
~When computeBill receives two parameters, they represent the price of a photo book and the quantity ordered. Multiply the two values, add tax, and return the total due.
~When computeBill receives three parameters, they represent the price of a photo book, the quantity ordered, and a coupon value. Multiply the quantity and price, reduce the result by the coupon value, and then add tax and return the total due.
Write a main method that prompts the user for all required arguments and tests all overloaded methods.
I honestly just need a psudo code for this code I already made~
public class Billing
public double computeBilldouble price
double total price;
return total total;
public double computeBilldouble price, double quantity
double total price quantity;
return total total;
public double computeBilldouble price, double quantity, double coupan
double total pricequantity coupan;
return total total;
public static void mainString args
Billing b new Billing;
System.out.printlnbcomputeBill;
System.out.printlnbcomputeBill;
System.out.printlnbcomputeBill;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
