import java.util.Scanner; public class ChangeCalculatorProgram2 { public static void main(String[] args) { double price, total, payment, change; System.out.println("Enter product price:"); price = new Scanner(System.in).nextFloat(); total = price * 1.13; System.out.println("Total cost:$" + String.format("%,1.2f", total)); System.out.println("Enter payment amount:"); payment = new Scanner(System.in).nextFloat(); change = payment - total; System.out.println("Change:$" + String.format("%,1.2f", change)); } }