

InterviewSolution
Saved Bookmarks
1. |
How determine the number is prime or composite |
Answer» <html><body><p><a href="https://interviewquestions.tuteehub.com/tag/answer-15557" style="font-weight:bold;" target="_blank" title="Click to know more about ANSWER">ANSWER</a>:</p><p>A prime <a href="https://interviewquestions.tuteehub.com/tag/number-582134" style="font-weight:bold;" target="_blank" title="Click to know more about NUMBER">NUMBER</a> has exactly two factors — 1 and the number itself. For example, the number 5 is prime because its only two factors are 1 and 5. A composite number has at least three factors. For example, the number <a href="https://interviewquestions.tuteehub.com/tag/4-311707" style="font-weight:bold;" target="_blank" title="Click to know more about 4">4</a> has three factors: 1, <a href="https://interviewquestions.tuteehub.com/tag/2-283658" style="font-weight:bold;" target="_blank" title="Click to know more about 2">2</a>, and 4.</p><p>Step-by-step explanation:</p><p>Hope it's being helpful to you</p></body></html> | |