PGM06 - Program to print prime numbers from 1 to n