#include <stdio.h> #include <math.h> int main() { int x; float root; do { scanf("%d", &x); } while (x < 0 || x>100); root = sqrt(x); printf("The square root is %f\n",root); return 0; }