Pergunta de entrevista da empresa Philips

Write a function that returns the sum of each odd number between a start and end index.