Computer Science, asked by chaudharydibya2003, 6 months ago

algorithm to find numbers of factor of given numbers.1234​

Answers

Answered by mohitx618
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