C noob's Qn:Print prime numbers from 1 to 99

Hello
Please can anyone tell me how can i print prime numbers from 1 to 99 using basic C functions like "sprintf, for, if" in ge?
+1 for anyone who helps me
Please can anyone tell me how can i print prime numbers from 1 to 99 using basic C functions like "sprintf, for, if" in ge?
+1 for anyone who helps me