Virtusa Interview Question

Write code to print prime numbers between 1 to 100.