src/HumNum.cpp
HumNum HumNum::operator*(const HumNum& value) const {
	int a1  = getNumerator();
	int b1  = getDenominator();
	int a2  = value.getNumerator();
	int b2  = value.getDenominator();
	int ao = a1*a2;
	int bo = b1*b2;
	HumNum output(ao, bo);
	return output;
}
//////////////////////////////
//
// HumNum::operator* -- Multiplication operator to multiply
//   two HumNums together or a HumNum and an integer.
//
:operator* -- Multiplication operator to multiply
two HumNums together or a HumNum and an integer.
: operator * -- Multiplication operator to multiply two HumNums together or a HumNum and an integer .
HumNum HumNum::operator*(const HumNum& value) const {
	int a1  = getNumerator();
	int b1  = getDenominator();
	int a2  = value.getNumerator();
	int b2  = value.getDenominator();
	int ao = a1*a2;
	int bo = b1*b2;
	HumNum output(ao, bo);
	return output;
}
HumNum HumNum :: operator * ( const HumNum & value ) const { int a1 = getNumerator ( ) ; int b1 = getDenominator ( ) ; int a2 = value . getNumerator ( ) ; int b2 = value . getDenominator ( ) ; int ao = a1 * a2 ; int bo = b1 * b2 ; HumNum output ( ao , bo ) ; return output ; }
HumNum::operator* -- Multiplication operator to multiply
two HumNums together or a HumNum and an integer.
HumNum :: operator * -- Multiplication operator to multiply two HumNums together or a HumNum and an integer .