Lexicographical order

How can I write a function that takes three string values as parameters and displays them in lexicographical order by including iostream and string only?
Last edited on
Topic archived. No new replies allowed.