Suppose a vendor uses the method below to calculate hot dog prices: Calculates the price of a hot dog. The price include
Posted: Tue Apr 12, 2022 10:20 am
Suppose a vendor uses the method below to calculate hot dog prices: Calculates the price of a hot dog. The price includes a base price and additional amounts for condiments @param pickles true if pickles are included @param chili true if chili is included @param cheese true if cheese is included @return the total price of the hot dog *7 public static double calculateHotDogPrice(boolean pickles, boolean chili, boolean cheese) { double hotDogPrice = 1.50; if (chili) { hotDogPrice += 1.00; } if (pickles && cheese) { hotDogPrice += .50;L } else if (pickles || cheese) { hotDogPrice += .25; } return hotDogPrice; } Indicate the return value of the method call calculateHotDogPrice(false, true, true)