Examlex

Solved

Given the Following Class, Which Is the Correct Function Header

question 40

Multiple Choice

Given the following class, which is the correct function header for the display function?
Class Rational
{
Public:
Rational) ;
Rationalint numer, int denom) ;
Rationalint whole) ;
Int getNumerator) ;
Int getDenominator) ;
Friend void displayostream& out, const Rational& value) ;
Private:
Int numerator;
Int denominator;
};


Definitions:

Finance Company

A business that provides loans to individuals and companies, aside from traditional banking institutions, often specializing in certain types of loans.

Discounted

refers to a price that has been reduced from the original or list price, often to encourage sales or clear inventory.

Maturity Value

The amount payable to the holder of a financial instrument upon its maturity, including both the principal and the interest.

360-Day Year

A financial convention that simplifies the interest calculation by assuming a year has 360 days.

Related Questions