Computer Science, asked by mahibahkh1, 5 months ago

Write a program to print factors of each digit of an entered number in java .​

Answers

Answered by Anonymous
1

Explanation:

Logic to find factors of a number consists of below steps.

Loop from 1 till the number.

In every iteration divide the number whose factors need to be determined by current loop counter and check the remainder of division.

If the remainder is zero, then the current loop counter is a factor of given number else not

Similar questions