Картинка находится во вложении
#include <iostream>
using namespace std;
double square(double x) {
return x*x;
}
double maxi(double x, double y) {
if (x>y)
return x;
else
return y;
}
int main() {
double a1,a2,s1,s2;
cin >> a1 >> a2;
cout << "s=" << maxi(square(a1),square(a2)) << endl;
return 0;
}
Var
a:array[1..100] of integer;
b, c, i: integer;
begin
read(b); read(c);
for i:=b to c do begin
a[i]:=i;
if a[i] mod 2=0 then
writeln(a[i], ' '); end;
end.
Var s : String;
Begin
s:='конкурс';
Writeln(s);
Writeln(s[6]+s[5]+s[3]+s[2]);
Writeln(copy(s,4,2)+s[7]+s[2]+s[1]);
end.