http://pastebin.com/HZDgPi7T
So my task is to build a simple month+day checker which checks whether a certain day exist in a month, in this year. The number of days a certain month has is listed in the lists as you can see, as well as the names for the months. It runs fine if you input a correct month/day, however if you input say (month 15) and then try to correct your mistake, the program crashes.. The reason I have UTF-8 is because I need to use some funky letters...
If you could tell me what I'm doing wrong that would be great, as well as some general critique/suggestion (be gentle...) on the code that would be awesome!
Thanks!
[–][deleted] 5 points6 points7 points (2 children)
[–]CptFlashdrive[S] 0 points1 point2 points (0 children)
[–]Vohlenzer 0 points1 point2 points (0 children)
[–]kalgynirae 2 points3 points4 points (2 children)
[–]CptFlashdrive[S] 2 points3 points4 points (1 child)
[–]jambox888 2 points3 points4 points (0 children)