algorithm to find numbers of factor of given numbers.1234
Answers
Answered by
0
Answer:
n=int(input("enter the number"))
count=0
for i in range(1,n+1):
if n%i==0:
count+=1
print("number of factors of",n,":",count)
Similar questions
English,
5 months ago
Social Sciences,
5 months ago
English,
10 months ago
Computer Science,
1 year ago
Math,
1 year ago