+ 11

Take a int input from user and find the smallest divisor of an integer.

The program takes in an integer and prints the smallest divisor of the integer.

25th Apr 2018, 5:40 AM
Ratnapal Shende
Ratnapal Shende - avatar
2 Answers
+ 4
If this is what you are looking for, then check out my code: 12 >> 2 25 >> 5 33 >> 3 https://code.sololearn.com/cZYLeusGNB46/?ref=app
25th Apr 2018, 8:23 AM
Johannes
Johannes - avatar
+ 2
https://code.sololearn.com/c26hcF26nyVw/?ref=app
25th Apr 2018, 6:15 AM
Koushik Naskar
Koushik Naskar - avatar