Pergunta de entrevista da empresa Telefónica

Write a program that computes the mean, variance and the moving average of a vector.