Originally Posted by isurues
A partition of a positive integer n is a sequence of positive integers that sum to n. Write an algorithm in psedocode and then implement the algorithm (in C) to print all non-increasing partitions of n.
eg. If n=4
2 1 1
1 1 1 1
can u give me the code for this algorithm or tell me how to implement it.