Now that we have loops and decision making abilities, we can start creating some more advanced programs. While focusing on loops, but being able to use anything we’ve learned so far:
- Think of a problem that could be solved by using a loop – don’t reuse the loan amortization example from the programming demo.
- What type of loop would you use to solve the problem (while, for, or do-while)?
- Using words (no programming required in this discussion), explain how you would go about solving the problem with a loop, in a series of steps.
- Taking what you listed in #3 as requirements, have we learned enough at this point in the class that you could program this yourself, and if not, what do you think you are lacking?
When responding to other students for this post, share any additional ideas or steps that could be used to solve the problem.