sir in this code I want my output to be
5 is not a prime number
Regarding output
hello @sraj39273
but why , 5 is a prime number.
also when u are checking n%5==0 then make sure n is not 5.
same with other prime numbers
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.