Help with calling a function

My professor gave us an assignment asking the following:
"Create a function called larger which takes two integers as its parameters and returns the larger of the two integers"

Maybe he just worded it oddly but I'm having trouble figuring out what to do... The assignments due tonight and hasn't responded to the emails I sent days ago, so any help is greatly appreciated, thanks!
You should compare two integers and return the maximum of them.
I think he just worded it weird. I pretty much just have to create a program that picks the bigger int?
Yes, the function shall return the greatest value of two integers.
i appreciate the reply, submitted the code earlier.
Topic archived. No new replies allowed.