print first 10 prime number
-A number that only divisible by the 1 or by itself is known as prime number.
Not prime numbers:
-Here we show the first 10 prime number.
#include < stdio.h>
int prime(int n)
printf("First 10 prime number is :\n");
First 10 prime number is :
-In this program, we run the while loop inside the main function, and we pass every value in prime() function and it will return the prime number.
Read More →