Computer Science, asked by Padhai420, 9 months ago

write a program enter any number print the factors of a given number​

Answers

Answered by poonammudgil78
2

Answer:

Logic to find all factors of a number

Input number from user. Store it in some variable say num .

Run a loop from 1 to num , increment 1 in each iteration. The loop structure should look like for(i=1; i<=num; i++) .

For each iteration inside loop check current counter loop variable i is a factor of num or not.

Answered by yaswanth534
3

Answer:

i wil send answer can u say in wich language like c or python ..

Similar questions