Computer Science, asked by Padhai420, 8 months ago

write a program in Java enter any number print the factors of a given number using for loop​

Answers

Answered by gayatribiradar682
1

Hope it help u ,

Example 1: Factors of a Positive Integer The for loop is iterated until i <= number is false. In each iteration, whether number is exactly divisible by i is checked (condition for i to be the factor of number ) and the value of i is incremented by 1.

Similar questions