Write a method that returns the total number of factors of a number. Assume the name of the method to be fnTotalFactors() that takes an argument nf from main(). The method returns the result back to main().
Sample input : 18 (Factors are – 1,2,3,6,9,18)
Sample output : Total factors for 18 is 6
Answers
Answered by
0
Answer:
please ask your question properly please
Similar questions