the division always computes the solution to 0. I use multiply or addition and the solution returns correctly.
//get customers's price of food or subtotal
Scanner scan = new Scanner(System.in);
System.out.println("Please enter the cost of the your meal");
double foodPrice = scan.nextDouble();
//get customer's tip percentage
System.out.println("What is the percent you would like to tip your server?");
int tipPercent = scan.nextInt();
//calculate the total
double totalPrice = foodPrice + tipPercent / 100;
//display the total price of the cutomer's meal
System.out.println("Your total bill with the tip is $" + totalPrice);