Are you looking for something like this:
Obviously a,b,c should be as small as possible while d and ss should be as large as possible.
Are you looking for something like this:
Obviously a,b,c should be as small as possible while d and ss should be as large as possible.
But in case a,b,c,d must be integers and you only want to cycle through the values with the given steps only, you may do it in a small program using nested for-loops: