Assignment 5/Homework 5-2.cpp
bool less(int hugeInt1[], int hugeInt2[], int size1, int size2) {
    
    if (size1 < size2) {
        return true;
    } else if (size1 > size2) {
        return false;
    } else if (size1 == size2) {
        for (int i = size1 - 1; i >= 0; i--) {
            if (hugeInt1[i] < hugeInt2[i]) {
                return true;
            } else if (hugeInt1[i] > hugeInt2[i]) {
                return false;
            }
        }
    }
    
    return false;
    
}
// returns true if and only if hugeInt1 < hugeInt2
returns true if and only if hugeInt1 < hugeInt2
returns true if and only if hugeInt1 < hugeInt2
bool less(int hugeInt1[], int hugeInt2[], int size1, int size2) {
    if (size1 < size2) {
        return true;
    } else if (size1 > size2) {
        return false;
    } else if (size1 == size2) {
        for (int i = size1 - 1; i >= 0; i--) {
            if (hugeInt1[i] < hugeInt2[i]) {
                return true;
            } else if (hugeInt1[i] > hugeInt2[i]) {
                return false;
            }
        }
    }
    return false;
}
bool less ( int hugeInt1 [ ] , int hugeInt2 [ ] , int size1 , int size2 ) { if ( size1 < size2 ) { return true ; } else if ( size1 > size2 ) { return false ; } else if ( size1 == size2 ) { for ( int i = size1 - 1 ; i >= 0 ; i -- ) { if ( hugeInt1 [ i ] < hugeInt2 [ i ] ) { return true ; } else if ( hugeInt1 [ i ] > hugeInt2 [ i ] ) { return false ; } } } return false ; }
returns true if and only if hugeInt1 < hugeInt2
returns true if and only if hugeInt1 < hugeInt2