#include #include int main() { float x; /* 意思是說我需要一個實數變數, 就叫 x 好了 */ printf("X=? "); scanf("%f",&x); /** 讀進一個實數放到 x 的所在(&x)。注意"&" **/ printf(" SQRT(%f)=%f\n", x, sqrt(x)); return 0; }