But Sir according to this code it will say 2 is not prime but 2 is prime Number isnt it?
Prime Number Doubt
please start from i = 3
for 2 add a additional check and print 2 is prime
But Sir according to this code it will say 2 is not prime but 2 is prime Number isnt it?
please start from i = 3
for 2 add a additional check and print 2 is prime