Skip to content

Instantly share code, notes, and snippets.

@opilar
Created November 4, 2012 16:30
Show Gist options
  • Save opilar/4012512 to your computer and use it in GitHub Desktop.
Save opilar/4012512 to your computer and use it in GitHub Desktop.
real min max
var
a, b : Real;
begin
Readln (a, b);
if a > b then
Writeln ("Min: ", b, ", Max: ", a)
else
Writeln ("Min: ", a, ", Max: ", b);
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment