Problem Statement
Write a function int gcd(int a, int b) that returns the Greatest Common Divisor of two positive integers.
DEMO-C-32 โข Programming in C
Write a function int gcd(int a, int b) that returns the Greatest Common Divisor of two positive integers.
Two positive integers.
The GCD value.
Submit runs every public testcase in this browser. Results and code never leave this device.
12 18
6
7 13
1
48 18
6
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question