This is a simple program that uses functions, and if-then statements to calculate batting and slugging average from a number of hits and times at bat.