к Си
#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>int main(){ int x, y; printf("\n Vvedite X and Y: "); scanf("\%d" "\%d", &x, &y); if (x < y) printf("\n x = \%d, y = \%d", (x + y)/2, 2 * x * y); else printf("\n x = \%d, y = \%d", 2 * x * y, (x + y)/2); printf("\n\n <span><span>to continue</span><span>press</span></span>... "); getch( ); return 0;}
Ответ:
uses Robot;
begin
Task('c5');
while freefromright do
paint;
right;
down
end
end.