Write a javascript code to check if a given number is prime or composite. 5p Alsoprint the prime factors of the number i
Posted: Thu Jul 14, 2022 2:11 pm
Write a javascript code to check if a given number is prime or composite. 5p Alsoprint the prime factors of the number if it is composite.