hi, i need great assistance in one of my assignments for school.

you've probably encountered this problem once or twice in your life.

All i need help on is to start it off and a push in the general idea, frankly, i'm totally lost on how to do this problem (still new to this stuff).

Given the sum "K" which is an integer and positive number, show all possible 3 number combinations that add up to K.

The three numbers are all not equal to 0. and num1 <= num2 <= num3

for example:

given number "5"

combinations include:

1+1+3

1+2+2

Thanks a bunch for your time!