// File: MinMaxIF.CPP // Determine the Relationship between Two Numbers #include using namespace std; // Return a char to indicate the relation between the two arguments char FindRel(int,int); void main() {int N1,N2; cout << "Enter two integers>"; cin >> N1 >> N2; cout << N1 << ' ' << FindRel(N1,N2) << ' ' << N2 << '\n'; } // Return a char to indicate the relation between X and Y char FindRel(int X,int Y) {if (X>Y) return('>'); else if (X==Y) return('='); else return('<'); }