Using computational language in JAVA it is possible to write a code that deals with the fees applied in a total when buying a photobook.
<h3>Writing this code in JAVA we have:</h3>
<em>public class Billing {</em>
<em> final static double TAX = 0.08;</em>
<em> public static void main(String[] args) {</em>
<em> final double HIGHPRICE = 24.99;</em>
<em> final double MEDPRICE = 17.50;</em>
<em> final double LOPRICE = 10.00;</em>
<em> final int QUAN1 = 4;</em>
<em> final int QUAN2 = 6;</em>
<em> double bill;</em>
<em> bill = computeBill(HIGHPRICE);</em>
<em> System.out.println("The total for a photobook that costs $" +</em>
<em> HIGHPRICE + " is $" + bill);</em>
<em> bill = computeBill(MEDPRICE, QUAN1);</em>
<em> System.out.println("The total for " + QUAN1 +</em>
<em> " photobooks that cost $" +</em>
<em> MEDPRICE + " is $" + bill);</em>
<em> bill = computeBill(LOPRICE, QUAN2, 20.00);</em>
<em> System.out.println("The total for " + QUAN2 +</em>
<em> " photobooks that cost $" +</em>
<em> LOPRICE + " with a $20 coupon is $" + bill);</em>
<em> }</em>
<em> public static double computeBill(double amt) {</em>
<em> return amt * (1 + TAX);</em>
<em> }</em>
<em> public static double computeBill(double amt, int quantity) {</em>
<em> return amt * quantity * (1 + TAX);</em>
<em> }</em>
<em> public static double computeBill(double amt, int quantity, double coupon) {</em>
<em> return (amt * quantity - coupon) * (1 + TAX);</em>
<em> }</em>
<em>}</em>
See more about JAVA at brainly.com/question/12975450
#SPJ1