C Program to Print Prime Numbers From 1 to n