Batting Average. Write a program that uses parallel arrays to determine the batting average for a baseball team by position. There are nine positions on a baseball team and your program should have parallel arrays with an upper bound of 9. Your program will read data in pairs; the first number will be between 1 and 9 and will represent the batter's position, and the second number will be either 0 or 1 and will
represent an out (0) or a hit (1). The program will continue to input data pairs until the sentinel value -1 is read. At that point the program should output the batting average for each of the nine positions. (Note: Batting average is the number of hits divided by the number of at bats. Therefore hits and at bats may be good values to store in parallel arrays)