
Question
Does anyone know how to write a progam that uses a valuereturning function
to find the GCD of two numbers. The main function reads pairs of numbers
from a file stream named dataFile. For each pair read in, the two numbers
and the GCD should be labeled properly and written to a file stream named
gcdList. The distance to the landing point of a projectile, launched at an
angle angle (in radians) with an initial velocity of velocity (in feet per
second), ingnoring air resistance, is given by the formula distance=velocity^2
* sin(2 * angle)/32.2
If so email me at agod0001@metnet.edu Thanks!!