Posted by: Slackdemic September 29, 2006
Java Help
Login in to Rate this Post:     0       ?        
Yes, I also think (y % 4 ==0 && y % 100 != 0 || y % 400 == 0) is the most concised form to code the definition of leap year. "One request slack. when you post questions in sajha, you have to be open minded and be ready to learn what others suggest rather than having prejudice about them due to their nicks and other stuffs. THis is a virtual world my friend, you never know who is who in reality ;)." I am truly sorry if somebody was offended by my being what you called closed minded. I overlooked sajhauser's definition of leap year that s/he found on some website, because that was they very website I had refrenced to code the program. I did not or do not have prejuidice about you either, I was simply saying that my code was not wrong. I had successfully tested it and had it worked fine. I think I am sure that there are really good programmers in Sajha, and for that very reason I used this platform hoping that somebody would help me. And, I am not a good programmer myself. While one can tell me a computer guy, I do not have specific programming background. I "touched" the computer for the first time only about 6 years ago. And, what's more, Java is my very first programming class (and without C or C++, and which are pre-requisite for this class). Even the people who are into C and C++ can be of great help to me. It's all good, though. I am just thankful to you all who tried to help me out. :)
Read Full Discussion Thread for this article