Help with using nested For
I have to design a program where
input > any positive integer
output > all combos of 3 integers whose sum add up to input
using 3 nested for loops, number1 <= number2 <= number3 and number1, number2, number3 != 0.
I had it to the point where it would print all the possible combos for the 1st number = 1, and then I was working on getting it to increase the 1st number by 1, print those combos, and then loop it. Now, I'm back to square 1 where I can't get it to print any output.
Any help appreciated.