Texas Instruments Interview Question

Write a program to calculate the average of 10 integers.