GNU/Linux ◆ xterm-256color ◆ bash 220 views

It is necessary to implement the game “greatest common divisor (gcd)”. The essence of the game is as follows: the user is shown two random numbers, for example, 25 50. The user must calculate and enter the greatest common divisor of these numbers.