A function is defined by the following code:
double Fraction To Decimal(double numerator, double denominator)
{
return (numerator/denominator);
}
Complete theFractionToDecimal()function so that it correctly calculates and
returns the decimal value of values passed to it when it’s called.
Comments
Leave a comment