Thanks very much!!!! It works! I don't think I could have figured that out by myself.
The "(Year) is not a leap year" is totally annoying. You're right. It wasn't in my original code.When it didn't work, I added that line to see what was happening to the loop when the program was running. I'll take it out again so I don't annoy myself!
Good luck with your forum. I am gonna have some more Ruby questions in the future, for sure.
Thanks again.
|