Capgemini interview question

Write a program to generate prime numbers from 50-100 .