Develop a program working as a soda vending machine. The program should show the product menu with price and take user input for product number, quantity and pay amount. The output should show the total sale price including tax and the change.Planning- Program INPUT PROCESS OUTPUTInputProcessOutputProduct NumberProduct QuantityPayment AmountShow menuTake purchase informationTake paymentCalculate AmountCalculate ChangeSale PriceTaxTotal Purchase AmountChangePlanningFunction Flow Chartsshow menuShow menu:1. Coke $1.252.Pepsi $1.003. Water $2.00Coffee $1.505. Exit MenuTake nurchasetake paymentPrompt forproduct choicePrompt forpaymentSave itemnumberSave paymentamountPrompt forquantcalculate_purchase(item, quantity)calculate_change(total_amount,payment_amount)Calculate Sale PriceCalculate changeCalCode this program using the 5 functions indicated by the flowcharts. Use the tax rate as 6% (0.06). Be sure your code is structured (only one return in each function, no exit, or continue, or breakâexcept in switch.)SAMPLE OUTCOMEWORKING WITH FUNCTIONS1. Coke $1.252. Pepsi $1.003. Water $2.004. Coffee $1.505. Exit MenuPlease enter the number of your choice from the menu 3Please enter the number of this drink you want 2Please enter the payment amount $10The total amount of the purchase, including tax = $4.24The amount of payment = $10The amount of change returned = $5.76Programmer(insert your name here)