0
write a function named nval that take 2 integer argument and return 1 if they have same number of factors. retur -1 if is negtif
java code
2 Antworten
+ 5
GoodLuck!
+ 1
Here is a code which calculates the prime factors of a number.
https://code.sololearn.com/csnT45SvKGe1/?ref=app
I don't know if there exists a formular to calculate the numbers of prime factors without calculating the prime factors.