dds two rational numbers represented as numerator and denominator
What will be an ideal response?
```
int& ansNum, int& ansDenom,
int num1, int denom1,
int num2, int denom2 )
{
int greatest;
ansDenom = denom1 * denom2;
ansNum = num1 * denom2 + num2 * denom1;
greatest = gcd( abs( ansNum ), ansDenom );
ansNum /= greatest;
ansDenom /= greatest;
}
```
You might also like to view...
Environmental constraints are not very critical, because they only itemize influences on product construction.
Answer the following statement true (T) or false (F)
Software that is installed on your computer's hard drive is referred to as a(n) ____.
A. open application B. software application C. local software D. operating systems application
The SmartArt graphic type that shows proportional relationships is the ________
A) Hierarchy B) Pyramid C) Matrix D) Process
An area at the top of each page of a report where controls can be placed is called the page ________
Fill in the blank(s) with correct word