I am trying to make a program that prints all possible combinations of hours (integer values) each of 2 hoses, i and j need to fill a pool. The time it takes to fill the pull with both hoses open is inputed by the user.
For this example I am using 6. The problem is that for some reason, the program skips numbers 10 and 15, which are correct...
Apologies for my terrible english... I couldn't explain it better.