Create a C program at /app/gcd.c that computes the greatest common divisor (GCD) of two integers provided as…
Create a C program at /app/gcd.c that computes the greatest common divisor (GCD) of two integers provided as…: a task in Repo2RLEnv TerminalWorld (EuniAI) (Harbor dataset). where <num1 and <num2 are the original (possibly negative) input values and <result is the non-negative GCD. Compile the…
The task
where `<num1>` and `<num2>` are the original (possibly negative) input values and `<result>` is the non-negative GCD. Compile the program to produce an executable at `/app/gcd`.
Part of FineEnvs/repo2rlenv-terminalworld.