I need help for my c++ homework

Write the main such that it reads two integers: Start and End and calls the void function of part a in order to print the average of integers divisible by 3 in the range: [Start..End].