Add multilingual language and systems learning tracks
This commit is contained in:
1 parent
07338189fc
commit
d8d1c40118
844 files changed
+6061
No files matched your search
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Assert(Remaining(4,1)=3);
|
||||
Assert(Remaining(4,4)=0);
|
||||
Assert(Remaining(4,5)=0);
|
||||
Assert(Remaining(0,0)=0);
|
||||
writeln('Passed');
|
||||
end.
|
||||
Reference in new issue
Block a user