draw the flowchart to check whether the given number is prime number or not?? (Computer)
Answers
Answered by
0
Explanation:
1. START
2. Read n
3. if i = 2
4. i < n if yes n% i ==0
if i < n no i == n if yes print No. is Prime. if no print No. is not Prime.
5. if n% i==0 no i= i+1 and move to step 4
Attachments:
Similar questions