Tuesday, August 30, 2011
FizzBuzz Solution
Shown above are two solutions to the FizzBuzz problem. The first one is a generic solution that did exactly what it needed to do and took me approximately 4 minutes to do. Below is my final solution where I modified the code to make it much more organized and reduce the margin for error if I were to expand on this code. The modification was fairly simple since all the required code already existed and only took me an extra two minutes or so to do.
I have been using Eclipse for a few years now so I am fairly comfortable using it. I did not run into any problems with Eclipse or Java itself so the entire process went very smoothly. From writing this solution, I can expect this class to help me in my software development skills by improving my programming practices as shown by the code modification that we had discussed during class.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment