draw a flowchart to find prime number between 1 to 10.plzzz friends
Answers
Answered by
0
Answer:
Explanation:
Attached is the flow chart to find prime number. In the flow chart N =10.
Prime number is a number which is not divisible by any number less than itself. Same principle is used in the flow chart.
Mod operator is used to evaluate the divisibility here.
Output of the flowchart will be prime number - 2 , 3, 5, 11
Attachments:
Similar questions