The function sellProduct of the fruit Juice Machine programmingexample gives the user only two chances to enter enough money tobuy the product. Rewrite the definition of the functionsellProduct so that it keeps prompting the user to enter more moneyas long as the user has not entered enough money to buy theproduct. Also write a program to test yourfunction.