src/ErrorsHandling.c
/*
 * FUNCTION NAME: checkIfNamesAreIdentical
 *
 * DESCRIPTION:
 * Function checks, if given cities' names are identical.
 *
 * RETURNS:
 * IDENTICAL_NAMES - if names are identical.
 * NO_ERROR - if they are not.
 */
FUNCTION NAME: checkIfNamesAreIdentical
DESCRIPTION:
Function checks, if given cities' names are identical.

if names are identical.
NO_ERROR - if they are not.
FUNCTION NAME : checkIfNamesAreIdentical DESCRIPTION : Function checks if given cities ' names are identical . if names are identical . NO_ERROR - if they are not .
programError_t checkIfNamesAreIdentical(const char* city1, const char* city2)
{
    if (strcmp(city1, city2) == 0) {
        return IDENTICAL_NAMES;
    } else {
        return NO_ERROR;
    }
}
programError_t checkIfNamesAreIdentical ( const char * city1 , const char * city2 ) { if ( strcmp ( city1 , city2 ) == 0 ) { return IDENTICAL_NAMES ; } else { return NO_ERROR ; } }
FUNCTION NAME: checkIfNamesAreIdentical
 DESCRIPTION:
 Function checks, if given cities' names are identical.
FUNCTION NAME : checkIfNamesAreIdentical DESCRIPTION : Function checks if given cities ' names are identical .