i have to find proper divisors of a positive integer.for instance,the proper divisor of 15 are 1,3,5.

input 15

output

1 3 5 like that.

Thank you for your helps.

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics