-moz-user-select:none; -webkit-user-select:none; -khtml-user-select:none; -ms-user-select:none; user-select:none;

Saturday 4 April 2015

Determining whether a number is prime or not

Hello and Asalam o Alikum! I hope that you all are fine by the grace of Allah Almighty and visiting my blogs regularly.
Today I am here with a very important program.In this program,we will determine whether a number entered by user is prime or not.
Remember that a number which is divisible by 1 and itself is called as a prime number.Below is the source code of this program.

Source code

khgamujtaba,C++,finding prime number in C++

Output

khgamujtaba,C++,finding prime number in C++

If you want any ambiguity in understanding the logic of this program, feel free to e-mail me at "G.A.Mujtaba11@gmail.com".


No comments:

Post a Comment