Why i am not getting the last statement in output “offer anything on the menu”
package Mamun; public class Task1 { public static void main(String[] args) { // Vegan Menu // Are both vegan? only offer up vegan dishes. // At least one vegan? make sure offer up some vegan options. // Else, offer anything on the menu boolean isGuestOneVegan = true; boolean isGuestwoVegan = true; boolean onlyOfferVeganDish = isGuestOneVegan && isGuestwoVegan; System.out.println("Both vegan: Only offer vegan dish"); boolean oneGuestisVegan = isGuestOneVegan || isGuestwoVegan; if (oneGuestisVegan) { System.out.println("At least one vegan: offer some vegan dish");} else { System.out.println("Offer anything on the menu");} } }