WRITE A FUNCTION DEFINITION FOR A FUNCTION CALLED INORDER THAT TAK...

12. Write a function definition for a function called inOrder that takes three arguments of type int. The function returns true if the three arguments are in ascending order; other-wise, it returns false. For example, inOrder(1, 2, 3) and inOrder(1, 2, 2) both return true, whereas inOrder(1, 3, 2) returns false.

Programmer-Defined Functions 111