Using the while loop and do. While loop, write a program that displays a list
of groceries. Then, allow the user to enter the number of products that they want to
buy, the item code and the quantity for each item. Finally, display the total price that
the user needs to pay. Valid input for the number of products and quantity is positive number. The valid number for the item code is only from a to d.