#include #include float dist( float x, float y) { float d; d = sqrt( x*x + y*y ); return d; } int main() { float a=3.0, b=4.0, c; c = dist(a, b); printf ( "c = %f\n", c); return 0; }