C++ Function help please !!!

Create a very simple larger( ) function that takes 2 positive numbers as parameters and returns the larger value of the two numbers.
Create a simple larger3( ) function that takes 3 positive numbers as parameters and returns the largest value of the three numbers.
Create a simple larger4( ) function that takes 4 positive numbers as parameters and returns the largest value of the four numbers.
Create a largest( ) function that takes an array of postive numbers and the array size as parameters and returns the largest value from the array.



Any body can provide me some example based on this ?
1.Take a read through this.
http://www.cplusplus.com/doc/tutorial/functions/

2. Try to write your functions best as you can

3. Come back here and post code that is not working and ask specific questions.
thank you
Topic archived. No new replies allowed.