#include #include int main() { float x; printf("x = "); scanf("%f",&x); if (x < 0) printf("Wurzelberechnung nicht möglich! \n"); else { float w = sqrt(x); printf("Wurzel ist %f \n" ,w); }; return 0; }