{Эта рабочая 100% :3}
var n: string;
procedure foo(str: string);
begin
writeln(str);
end;
function foo1(str: string): string;
foo1:= str;
foo('I am a procedure');
n:= foo1('I am a function');
writeln(n);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
{Эта рабочая 100% :3}
var n: string;
procedure foo(str: string);
begin
writeln(str);
end;
function foo1(str: string): string;
begin
foo1:= str;
end;
begin
foo('I am a procedure');
n:= foo1('I am a function');
writeln(n);
end.
'I am a function' с помощью функции