coins/TwelveCoins.cpp
/**
 * @brief: Compares the weights of each side of the scale, a and b, to see which is heavier.
 * 
 * @return:Returns 0 for equal, 1 for a is heavier than b, 2 if a is lighter than b, and 3 if error
 */
@brief: Compares the weights of each side of the scale, a and b, to see which is heavier.

@return:Returns 0 for equal, 1 for a is heavier than b, 2 if a is lighter than b, and 3 if error
@brief : Compares the weights of each side of the scale a and b to see which is heavier . @return : Returns 0 for equal 1 for a is heavier than b 2 if a is lighter than b and 3 if error
int TwelveCoins::weigh(int a, int b)
{
    if (a == b)
        return 0;
    else if (a > b)
        return 1;
    else if (a < b)
        return 2;
    else 
        return 3;
}
int TwelveCoins :: weigh ( int a , int b ) { if ( a == b ) return 0 ; else if ( a > b ) return 1 ; else if ( a < b ) return 2 ; else return 3 ; }
@brief: Compares the weights of each side of the scale, a and b, to see which is heavier.
@brief : Compares the weights of each side of the scale a and b to see which is heavier .
// error