Computer Science, asked by Vaanika, 1 year ago

program to find prime factors of a no.


ans fast plzz .....


Harshii47: hii 12th m hu aap??

Answers

Answered by Akhileshsah
1
Efficient program to print allprime factors of a given number. Given a number n, write an efficient function to print all prime factors of n. For example, if the input number is 12, then output should be “2 2 3”. And if the input number is 315, then output should be “3 3 5 7”.
Similar questions