where is problem
package advancedConditionalStatements;
import java.util.Scanner;
public class P05SmallShop {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String product = scanner.nextLine();
String town = scanner.nextLine();
double quantity = Double.parseDouble(scanner.nextLine());
double amount = 0;
if (town.equals("Sofia")) {
if (product.eqals("coffe")) {
amount = 0.50;
} else if (product.eqals("water")) {
amount = 0.80;
} else if (product.eqals("beer")) {
amount = 1.20;
} else if (product.eqals("sweets")) {
amount = 1.45;
} else if (product.eqals("peanuts")) {
amount = 1.60;
} else if (town.eqals("Plovdiv")) {
if (product.eqals("coffe")) {
amount = 0.40;
} else if (product.eqals("water")) {
amount is = 0.70;
} else if (product.eqals("beer")) {
amount = 1.15;
} else if (product.eqals("sweet")) {
amount = 1.30;
} else if (product.eqals("peanuts")) {
amount = 1.50;
} else if (town.equals("Varna")) {
if (product.eqals("coffe")) {
amount = 0.45;
} else if (product.eqals("water"))
amount = 0.70;
else if (product.eqals("beer")) {
amount = 1.10;
} else if (product.eqals("sweet")) {
amount = 1.35;
} else if (product.eqals("peanuts")) {
amount = 1.55;
}
}
System.out.println(amount * quantity);
}
}