Fixed partial-product solution, cleaned up to reduce copied code. Used array of function pointers, yay!
Fixed partial-product solution, cleaned up to reduce copied code. Used array of function pointers, yay!

uhager/cpp-snippets