I am able to get the prime numbers but some numbers are repeating themselves in the output . How can I get the desired outcome?
My result-
3
5
5
5
7
7
7
7
7
Find prime numbers between 1 and 50
Hello @nipunsharma1501 could you please share your code so that i can see why you are getting the duplicacy.
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.