Menu

[solved] – Question 70366

Every positive integer greater than 1 can be expressed as a product of prime numbers. This
factorization is unique and is called the prime factorization.For example, the number 60 can be
decomposed into the factors 2 ∗ 2 ∗ 3 ∗ 5, each of which is prime. Note that the same prime can
appear more than once in the factorization. Write a program to display the prime factorization of
a number n e.g. if a user enter enter 60 as an input then program should print 2 ∗ 2 ∗ 3 ∗ 5 as an
output.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *