import java.util.Scanner; public class ChangeCalculatorProgram { public static void main(String[] args) { // Declare the variables that we will be using double price, total, payment, change; // Get the price from the user System.out.println("Enter product price:"); price = new Scanner(System.in).nextFloat(); // Compute and display the total with 13% tax total = price * 1.13; System.out.println("Total cost:$" + total); // Ask for the payment amount System.out.println("Enter payment amount:"); payment = new Scanner(System.in).nextFloat(); // Compute and display the resulting change change = payment - total; System.out.println("Change:$" + change); } }