Files
agila-learning-examples/ceb/pascal-foundations-20261101/lesson-3/main.pas
T

11 lines
223 B
ObjectPascal

program AgilaStudy;
{$mode objfpc}{$H+}{$assertions on}
function Remaining(Total, Done: Integer): Integer;
begin
if Done >= Total then Result := 0 else Result := Total - Done;
end;
begin
writeln(Remaining(4, 1));
end.