select 2 options from button . button (pizza and Burger) then save then to order summary at the end
then the same for the soups.
selectedFoods = []
selectedSoups = []
Start:
Say: "Welcome to our food ordering service. What would you like to order?"
Options: "Food", "Soups", "Review Order"
Food:
Say: "Please select your food items."
Options: "Pizza", "Burger", "Salad", "Done"
If "Pizza" is selected:
Append "Pizza" to selectedFoods
If "Burger" is selected:
Append "Burger" to selectedFoods
If "Salad" is selected:
Append "Salad" to selectedFoods
If "Done" is selected:
Go to Start
Soups:
Say: "Please select your soup items."
Options: "Tomato Soup", "Chicken Soup", "Vegetable Soup", "Done"
If "Tomato Soup" is selected:
Append "Tomato Soup" to selectedSoups
If "Chicken Soup" is selected:
Append "Chicken Soup" to selectedSoups
If "Vegetable Soup" is selected:
Append "Vegetable Soup" to selectedSoups
If "Done" is selected:
Go to Start
Review Order:
Say: "Here is your order summary."
Say: "Selected foods: {selectedFoods}"
Say: "Selected soups: {selectedSoups}"
Go to Start
same thing like this how can i implement it.
