int loop; float x, y; float*area;//semicircle's area
scanf("%d",&num);
area =(float*)malloc(sizeof(float)* num);
for(loop=0; loop<num; loop++) { scanf("%f %f",&x,&y);
area[loop]=(x * x + y * y )* PI / 2; }
for(loop=0; loop<num; loop++) { printf("Property %d: This property will begin eroding in year %.0lf.\n", loop+1,ceil(area[loop]/ 50));//ceil from math.h