Design and implement a simulation of the game of volleyball. Ateam can only score points when it is serving. Games are played to15, but must be won by at least two points.
Make sure the problem includes all functions:
-A main function that includes only function calls to theseparate functions
-A function that prompts the user for the probability of thehome team winning
-A function that simulates the playing of one game with thescore for each team being returned by the function
-A function that simulates the playing of 3 games by calling thefunction that plays one game 3 times. This function should returnthe number
PayPal Gateway not configured
PayPal Gateway not configured