This repository has been archived on 2024-12-25. You can view files and clone it, but cannot push or open issues or pull requests.
2024-03-10 20:32:51 +03:00

17 lines
353 B
ObjectPascal

// Параметры процедур
procedure Operations(a,b: integer);
begin
writeln(a,' + ',b,' = ',a+b);
writeln(a,' - ',b,' = ',a-b);
writeln(a,' * ',b,' = ',a*b);
writeln(a,' / ',b,' = ',a/b);
writeln(a,' div ',b,' = ',a div b);
writeln(a,' mod ',b,' = ',a mod b);
end;
begin
Operations(5,3);
writeln;
Operations(7,4);
end.