#include #include #include #include int main(void) { int h1; float a, b, c, r, h; for ( ; ; ) { scanf("%f %f", &a, &b); if ((a == 0) & (b == 0)) { return 0; } c = a * a + b * b; // r = sqrt(c); h = (M_PI * c) / 100; h1 = (int) h; if (h > h1) { h1++; } printf("The property will be flooded in hour %d.\n", h1); } }