2 deleted 34 characters in body
source | link

C, 100 chars (beats the other C solution by 1!)

A ridiculously inefficient algorithm.

x;f(a,b){for(;x!=a*a+b*b;x=rand-a*a-b*b;x=rand());printf("The hypotenuse of thethis right triangle is %.3f",sqrt(x));}

C, 100 chars (beats the other C solution by 1!)

A ridiculously inefficient algorithm.

x;f(a,b){for(;x!=a*a+b*b;x=rand());printf("The hypotenuse of the right triangle is %.3f",sqrt(x));}

C, 100 chars (beats the other C solution by 1!)

A ridiculously inefficient algorithm.

x;f(a,b){for(;x-a*a-b*b;x=rand());printf("The hypotenuse of this right triangle is %.3f",sqrt(x));}
1
source | link

C, 100 chars (beats the other C solution by 1!)

A ridiculously inefficient algorithm.

x;f(a,b){for(;x!=a*a+b*b;x=rand());printf("The hypotenuse of the right triangle is %.3f",sqrt(x));}