Wednesday, August 10, 2005

What's wrong with this line of code

double max = 100/12;

in other words boolean foo(){double max = 100/12; if(max < 8.333333) return false;return true;} does not return true

Anyone? No cheating and using a compiler, either!

Programming contests are fun, and then you do stupid stuff like that line right there. (Yes, it is broken)

0 comments: