Write a program in C that asks the user to choose his or her

Write a program in C that asks the user to choose his or her favorite ice cream flavor from alist of choices, which includes chocolate, vanilla, and strawberry.Requirements (1). If some choice other than what your list shows is entered, your program should display, “Sorry,we don’t carry that flavor”. (Hint: what decision structure is good for multiple choices? (2). If chocolate is chosen, then your program should determine which type, ‘Double-Dark’ or‘Chocolate Fudge’ (3). After the selection is made, the program prints out the name of the flavor chosen and a message:“name_of_flavor chosen. Good choice!”

Write a program in C that asks the user to choose his or her

Write a program in C that asks the user to choose his or her favorite ice cream flavor from alist of choices, which includes chocolate, vanilla, and strawberry.Requirements (1). If some choice other than what your list shows is entered, your program should display, “Sorry,we don’t carry that flavor”. (Hint: what decision structure is good for multiple choices? (2). If chocolate is chosen, then your program should determine which type, ‘Double-Dark’ or‘Chocolate Fudge’ (3). After the selection is made, the program prints out the name of the flavor chosen and a message:“name_of_flavor chosen. Good choice!”