What is a PRIME NUMBER?
" A Natural number greater than 1 which has only two divisor 1 and itself is called prime number ".
For Example:
5 is prime, because it has only two divisors 1 and itself.
C++ Program To Find Prime Numbers
#include<iostream.h>
#include<conio.h>
void main()
{
//clrscr();
...
Popular Posts
-
What is a Factorial of a number 'n'? The factorial of a number 'n' is the product of all number from 1 upto the number ...
-
What is a PRIME NUMBER ? " A Natural number greater than 1 which has only two divisor 1 and itself is called prime number "...
-
What is a perfect number ? " Perfect number is a positive number which sum of all positive divisors excluding that number. " ...
-
Linear search or sequential search is one of the searching algorithms in which we have some data in a data structure like array data str...
-
Tutorial contains Bubble sort c++ code Code dry run with explanation Image view of code Concept used for bubble sort in this exa...