cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Greatest common divisor
Greatest common divisor
Nov 19, 2014 at 10:27am UTC
memberfunction
(35)
How do I get the greatest common divisor of two numbers in C++?
Please give me an explanation.
Thanks in advance
Last edited on
Nov 19, 2014 at 10:28am UTC
Nov 19, 2014 at 11:21am UTC
kbw
(9488)
There are several algorithms described here.
https://en.wikipedia.org/wiki/Greatest_common_divisor
Topic archived. No new replies allowed.