Matthieu is an expert in Mathematics. He is
performing arithmetic operations and wants to find
all the divisors of P number.
Note: Divisors should be separated by space and
increasing order should be maintained.
Input Format
Input contains a non-negative integer 'P' denoting the
number
Violation of Input criteria: System should
display message as 'Wrong Input".
Output Format
All divisors should be separated by space and
increasing order must be maintained.
Constraints
1 <= P<= 1048
Sample 1:
Input
10
Output
12510
Sample 2:
Input
18
Output
1 2 3 6 9 18
write a c program for this
Answers
Answered by
0
Answer:
sorry
Explanation:
hishtgbenisydgbneksidydhbend get do co ft do ho gi for to ho ho gi to
Similar questions