Write a program that will calculate and print the frame-by-frame totals for bowling games given an input sequence representing the number of balls knocked down by each ball. Your program must be well structured and documented and must meet all of the conditions described below. The input for the program will come from a file named [login to view URL] and will consist of an unknown number of lines. Each line will contain a sequence of integer values representing the number of pins knocked down by each ball during a game. For example, a line might look like this: 7 2 9 1 10 10 8 2 7 3 6 2 10 7 2 10 7 2 As your program reads the data from each line of the input file it should output the frame-by-frame score to an output file. For example, given the data above the output would be: 9 29 57 77 94 110 118 137 146 165 The name of the output file must be your last name with a .txt extension, such as [login to view URL] Since computing scores for a single game essentially consists of repeatedly calculating the score for a particular frame, and since the calculations, input and output for a frame depend on whether it was a strike, spare or open frame, you should be able to extract this work into three separate functions. The work in main() should then be limited to managing files, input of initial data, determination of the type of frame (strike, spare, open) and calling the appropriate function.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
## Platform
C++
## Deadline information
homework project, if your interested, there are certain restrictions of the kinds of processes that can be used, mainly only very simple language, like iostream, fstream, string, things like that.