I've just started programming and I want to be able to write a program which will be able to find all solutions to equations like the following:
a+b+c+d=22. where a, b, c & d are positive integers<17
Im not too sure how to start off etc. Would someone be able to help me???