Pergunta de entrevista da empresa PeopleTech Systems

Write a program for print prime numbers from 1 to N and add its average