General Case Problem-Solving – Implementation Steps
In the prior episode, we started out our coding of a solution for a specific case. Now we move on to the general case problem-solving code. Some of this work may have been completed in your general solution, but it is worth looking over these to craft the best solution. Input Parameters Our hard-coded solution did not need any parameters or even user input. However, as we move into the code for the general case problem-solving, we need to add those features. It is possible to skip the user input step at this time and merely hardcode different values for the problem. I do not recommend this as it is better to get some user input steps in early so they can be... Read more