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 of games won by each team and the total scoreaccumulated by each team during 3 games.

-A function that prints a summary of the results.