Input (grade 13): In baseball, an at bat (AB) or time at bat is used to calculate certain statistics, including batting average, on base percentage, and slugging percentage.
Output (grade 8): In baseball, an at bat (AB) or time at bat is used for certain statistics. These statistics include batting average, on base percentage, and slugging percentage.