Computer Science, asked by JoydeepMohanto, 11 months ago

write a program in Java to input a number n and display all possible combination which will give sum as n

Example : 3
1 1 1 (1+1+1=3)
2 1 (2+1 =3)​

Answers

Answered by minal7678
1

Answer:

this is a very nice question..............

Similar questions