How can i write a program that computes all the possible combinations involving any 3 numbers from 0 to 3 and gives sum as 5 : How can i write a java program using recursion that computes all the possible combinations involving any 3 numbers from 0 to 3 and gives sum as 5. Repetitions are allowed.

The answer should print all permutations like this 

                  3 + 2 + 0
                  3 + 1 + 1
                  3 + 0 + 2
                  2 + 2 + 1
                  2 + 1 + 2
                  2 + 0 + 3
                  1 + 3 + 1
                  1 + 2 + 2
                  1 + 1 + 3
    