Write a C program at /workspace/gcd.c that computes the greatest common divisor (GCD) of two integers passed…
Write a C program at /workspace/gcd.c that computes the greatest common divisor (GCD) of two integers passed…: a task in Repo2RLEnv TerminalWorld (EuniAI) (Harbor dataset). Compile the program into an executable at /workspace/gcd . Then run it against the following four pairs of inputs and write…
The task
Compile the program into an executable at `/workspace/gcd`. Then run it against the following four pairs of inputs and write all results (one per line, in order) to `/app/result.txt`:
Part of FineEnvs/repo2rlenv-terminalworld.