#include #include void OneTask(double x, double y) { double S = M_PI * (x * x + y * y) / 100; printf("The property will be flooded in hour %d.\n", (int)S + 1); } int main() { double x, y; for(;;) { scanf("%lf %lf", &x, &y); if ((x == 0.0) && (y == 0.0)) { break; } OneTask(x, y); } }