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));}