Computer Science, asked by srijitapakira, 13 hours ago

6. Draw a flowchart and write an algorithm to find a number is prime

or composite.

[A prime number is a number which have factor 1 & the number itself.

Ex: 7] please help it is urgent​

Answers

Answered by nishi1155
0

Answer:

Yes, 7 is a prime number. The number 7 is divisible only by 1 and the number itself. For a number to be classified as a prime number, it should have exactly two factors. Since 7 has exactly two factors, i.e. 1 and 7, it is a prime number.

Explanation:

Thank You

Similar questions