#include<conio.h>
#include<stdio.h>
#include<iostream.h>
float Max(float a,float b)
{
if (a > b) then return a
else return b;
}
float Min(float a,float b)
{
if (a < b) then return a
else return b;
}
int main()
{
float x,y,z,p;
clrscr;
cout<<"Введите 3 числа: ";
cin>>x;
cin>>y;
cin>>z;
if (z < 0) p = Max (x, y)
else p =Min (x, y);
cout<<" \nP равно:"<<p<<"\n";
getch();
return 0;
}
Program d1;
uses crt;
var
a,e,d,s,t,dt: integer;
begin
clrscr;
writeln('BBEDUTE 4UCJLO');
readln(a);
e:=a mod 10;
d:=a div 10 mod 10;
s:=a div 100 mod 10;
t:=a div 1000 mod 10;
dt:=a div 10000;
If(e=dt)and(d=t)Then
writeln('DA');
else
writeln('HET');
readln;
end.