Prime or Composite (Practice)

Enter a number and the applet determines if the number is prime or composite. If composite, it displays the prime factorization; otherwise, it displays the number as prime.