1. What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While writing the madlibs program, one problem I encountered was that at first, after you have 10 of a word type, if you continued to try to add words the counter would eventually go out of bounds. To solve this, I combined two sets of If statements I had, so that it would only add the word and decrement the counter if there were less than 10 of that word type already.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment