The foo's @ think geek...
The foo's @ think geek have a shirt that says:
2 + 2 = 5
for sufficiently large valus of 2
WTF? Here is a program that proves 2 + 2 = 6 for sufficiently large values of 2.
#include
#include
int main( int argc, char* argv[] )
{
long double a = 2.9999999;
long double b = 2.9999999;
long double result = a + b;
printf("result = %llf\n",result);
return 0;
}
wannabee geeksta's fo sho....
2 + 2 = 5
for sufficiently large valus of 2
WTF? Here is a program that proves 2 + 2 = 6 for sufficiently large values of 2.
#include
#include
int main( int argc, char* argv[] )
{
long double a = 2.9999999;
long double b = 2.9999999;
long double result = a + b;
printf("result = %llf\n",result);
return 0;
}
wannabee geeksta's fo sho....
1 Comments:
Your exact wording is "between 4 and 6"
You should have said "greater than or equal to 4 and less than or equal to 6"...
Because my program clearly prints 6.0 foo... and your wording leaves out 6.0 from the realm of possibility...
Post a Comment
<< Home