Input
Output
>> gcc main.cpp
>> ./a.out
Enter any number : 
All factors of 50 are : 
1 2 5 10 25 50