Write a java program implement the following chatbot online ordering of burger using control statements.
Write a java program implement the following chatbot online ordering of burger using control statements.
Ask the customers mobile number, address, email and name?
Then display like Welcome !, Burger House is the favourite burger store around your place.
What would you like to order?
Ask for Veg / Non Veg
Veg ->What would you like to have -> Veg Deluxe / Veg Supreme
Ask for the crust -> Crispy / Non- Crispy
Ask for the Size -> Small / Large
Displays the Order -> You have selected Veggie Deluxe -> Small size with a Non-Crispy crust Price is Rs 550
Would you like to add another burger? Yes/No
Yes -> Repeat the above process -> add the price of the second burger and display total along with other details as below
No -> Display message ->Burger will be delivered in 30 minutes to the address and our delivery guy will contact you on mobile number.
Thank you for choosing Burger House, Enjoy your meal.
SAMPLE OUTPUT:
Submitted by Dwipendu Kundu (dwipendukundu)
Download packets of source code on Coders Packet
Comments