Guys can you fix my code .. i dont know what is the problem with it..
import java.util.Scanner; public class GrossBill { public static void main(String[] args) { double servicecharge; double salestax; double grossbill; double netbill; double amount; double change; Scanner keyboard = new Scanner(System.in); System.out.print("Enter the Grossbill."); servicecharge = 0.12 * grossbill; salestax = 0.07 * grossbill; grossbill = keyboard.nextDouble(); keyboard.nextLine(); System.out.print("Enter your Money."); amount = keyboard.nextDouble(); netbill = grossbill + servicecharge + salestax; change = amount - netbill; if (amount >= netbill) { System.out.printf("Your Net Bill is : %.2f %n", netbill); System.out.printf("Your Change is :%.2f" , change); } else{ System.out.print("Your money is not enough."); } System.exit(0); } }