What does below program do?
int num, i, flag=0;
printf("enter a number");
it will find if num is odd or even
it will find if num is prime number or not
it is finding factorial of num
it is finding fibonacci series for num numbers
This is a C program to find whether an entered number is prime number or not.
If it prints true, then the number is prime else not a prime.
Back To Top