prog01
Home ] Up ]

 

//prog01.cpp
//Author: Us
//Date:   01/16/2002

/*
Write a function to pick two highest integers 
of three integers given

Given:  1, 2, 3
Return: 3, 2

Given:  x, y, z
Return: a, b 
        such that a >= b
        a >= x, y, and z
        b <= a, 
        b >= x and y if a= z
        b >= y and z if a= x
        b >= z and x if a= y

Name: max2(x, y, z, a, b)

*/