Recursive GCD: Beginning (C++)
Problem
Two natural numbers A and B are given. It is required to find their greatest common divisor.
Input
Enter two natural numbers A and B (\(A, B <= 10^9\)) .
Output
It is required to output GCD A and B.
Paste the missing piece of code into the program.
Examples
Запрещенные операторы: while;for;do;until