+ 1
How to make it to display 0 as prime i got stuck
3 odpowiedzi
+ 1
Why you want 0 as prime..?
0,1 are neither prime, nor non-prime..
Your code is incomplete check for num=25, and OK if are just checking, and not considering all numbers..
+ 1
0 is Neither prime nor Non-prime number.
Change The value You store in the variable "Number"...To see the output.
+ 1
I searched in google and found 0 as prime thats why i wanted it as prime
Aneway thank you Jayakrishna and S.Jeevan Surya
These answer help me so much.