1)
2)
program z1;
var a,b,c,P:real;
begin
readln(a,b,c);
P:=(a+b+c)/3;
writeln('P=',P);
End.
program z2;
var a,b,P:real;
readln(a,b);
P:=a*a*a+b*b*b;
Объяснение:
1)
program z1; var a,b,c,P:real; begin readln(a,b,c); P:=(a+b+c)/3; writeln('P=',P); End.2)
program z2; var a,b,P:real; begin readln(a,b); P:=a*a*a+b*b*b; writeln('P=',P); End.1)
program z1;
var a,b,c,P:real;
begin
readln(a,b,c);
P:=(a+b+c)/3;
writeln('P=',P);
End.
2)
program z2;
var a,b,P:real;
begin
readln(a,b);
P:=a*a*a+b*b*b;
writeln('P=',P);
End.
Объяснение: