It looks like you're new here. If you want to get involved, click one of these buttons!
printf("ENter a Number");
printf("\nSquare of %f is %f",a,b);
float square(float x)
In the above program, I am calculating the square of float number. But sometimes the number is entered as NAN and sometimes Output is NAN. What is NAN? I am entering floating point number, then y NAN is entered?
SEE the Image attached for the OUTPUT.