Computer Science, asked by dasajal456, 5 months ago

Write a program to accept a number and display the number of factors it has​

Answers

Answered by Anonymous
11

In the program, a positive integer entered by the user is stored in num . The for loop is iterated until i <= num is false. In each iteration, whether num is exactly divisible by i is checked. It is the condition for i to be a factor of num .

Similar questions