Q. 8
Suppose a user vote for his favourite food from a dynamic combo box populated from database and the user must be able to make multiple food selections per request. You can use database of your choice. You are required to implement the following functionality.
- (a)Store the favourite foods and the number of votes for each food.
- (b)Display all foods and their number of votes in alphabetical order back to the user.
- (c)Display the top three foods.