Driver Code
echo findWays ( 4 , 2 , 1 ) . " STRNEWLINE " ; echo findWays ( 2 , 2 , 3 ) . " STRNEWLINE " ; echo findWays ( 6 , 3 , 8 ) . " STRNEWLINE " ; echo findWays ( 4 , 2 , 5 ) . " STRNEWLINE " ; echo findWays ( 4 , 3 , 5 ) . " STRNEWLINE " ; ? >