This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Isabel, this question has appeared on other forums/threads before. It is generally considered to be a bad question, because of the f == d comparison. Any program comparing floating point numbers for equality is suspect. Move 'em on, forget it, but remember the reason why you forgot it. -Barry