24

class Fraction {
public double dValue;
int numerator;
int denom;
...
public UpdateDouble()
{
dValue = numerator/denom;
}
...
}

Comments
Add Comment