IN THIS QUESTION WE HAVE TO DRAW A FLOW CHART TO FIND WHETHER A NUMBER N IS PRIME OR NOT PLEASE TELL ME WHETHER I DID IT CORRECT OR NOT
IF A NUMBER IS PRIME OR NOT
hello @dhruvk3k
no it is not correct.
the idea is if n is one print no, if n is two print yes
otherwise run a loop from i=2 to i=n-1 , and if n is divisble i then print no
otherwise print yes
Hey @dhruvk3k I think @aman212yadav has solved your doubt and by mistake you have revoked it.
If you still have an issue , you can ask me
