

MCQOPTIONS
Saved Bookmarks
1. |
Assume A and B are non-zero positive integers. The following code segmentwhile (A ! = B ){If(A>B )A - = B; else B - = A;}cout< |
A. | Computes the LCM of two numbers Y, |
B. | Divides the larger number by the smaller number |
C. | Computes the GCD of two numbers |
D. | Finds the smaller of two numbers |
Answer» D. Finds the smaller of two numbers | |