Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

better o/p of factor problem

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 1.32 sec, absolute running time: 0.27 sec, cpu time: 0.01 sec, memory peak: 5 Mb, absolute service time: 1,66 sec 
edit mode |  history  | discussion
Enter the total no that you want to factor of: 
Enter the numers you wnt to factor:

factor of 1 is: 1 
factor of 2 is: 1 2 
factor of 3 is: 1 3 
factor of 4 is: 1 2 4 
factor of 5 is: 1 5 
factor of 6 is: 1 2 3 6 
factor of 7 is: 1 7 
factor of 8 is: 1 2 4 8 
factor of 9 is: 1 3 9 
factor of 10 is: 1 2 5 10 
factor of 11 is: 1 11 
factor of 12 is: 1 2 3 4 6 12 
factor of 13 is: 1 13 
factor of 14 is: 1 2 7 14 
factor of 15 is: 1 3 5 15 
factor of 16 is: 1 2 4 8 16 
factor of 17 is: 1 17 
factor of 18 is: 1 2 3 6 9 18 
factor of 19 is: 1 19 
factor of 21 is: 1 3 7 21 

    
                
λ
.NET NoSQL database for rapid development