Write a complete C++ program to do the following: The main program reads in and prints three bowling scores score1, score2, and score3. It then calls a series of functions to process these scores. The main program calls a function validgroup() to determine if this set of three values forms a valid group. The function validgroup() receives four parameters (the 3 scores and a reference to an of stream). For the group to be valid, each number must be in the range from 0 to 300 (the possible scores in a bowling game). If the group is valid, the function prints a message saying so. If one or more of the numbers is negative or greater than 300 the function prints an overall message that the group is invalid. In addition, for each invalid value, the function prints the score and a message. The function returns a signal (say 1 or indicating the score the validity of the group. If the group is not valid the main program skips processing and simply goes on to the next group of three values. If the group is valid, the main program calls a function onegamescore(), sending it two parameters, the value score1 and a Write a complete C++ program to do the following: The main program reads in and prints three bowling scores score1, score2, and score3. It then calls a series of functions to process these scores. The main program calls a function validgroup() to determine if this set of three values forms a valid group. The function validgroup() receives four parameters (the 3 scores and a reference to an of stream). For the group to be valid, each number must be in the range from 0 to 300 (the possible scores in a bowling game). If the group is valid, the function prints a message saying so. If one or more of the numbers is negative or greater than 300 the function prints an overall message that the group is invalid. In addition, for each invalid value, the function prints the score and a message. The function returns a signal (say 1 or indicating the score the validity of the group. If the group is not valid the main program skips processing and simply goes on to the next group of three values. If the group is valid, the main program calls a function onegamescore(), sending it two parameters, the value score1 and a