Is there a function that returns the highest of two integers?
Is there a function that returns the highest of two integers?
I don't check this place often, sorry.
Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path
scar manual:
function Max(a, b: Integer): Integer;
Returns biggest of two integer values.
Ce ne sont que des gueux
even if you didn't know that function, you should still be able to tell, you could've just done something like if(x>y)then writeln('x is bigger') else ('y is bigger'). Not hard to make your own Max function.
There are currently 1 users browsing this thread. (0 members and 1 guests)