int main() { struct rect r1, r2; scanrect("Podaj wspolrzedne prostokata1", &r1); scanrect("Podaj wspolrzedne prostokata2", &r2); printf("%i \n", disjointrect(r1, r2)); return 0; };
int main() { struct rect r1, r2; scanrect("podaj wspolrzedne rect1", &r1); scanrect("podaj wspolrzedne rect2", &r2); printf("Pole figury: %i \n", area(r1, r2)); return 0; };